public class InMemoryFunctionCatalog extends Object implements FunctionCatalog
| Constructor and Description |
|---|
InMemoryFunctionCatalog(Set<FunctionRegistration<?>> registrations) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getConsumerNames() |
Set<String> |
getFunctionNames() |
Set<String> |
getSupplierNames() |
<T> Consumer<T> |
lookupConsumer(String name) |
<T,R> Function<T,R> |
lookupFunction(String name) |
<T> Supplier<T> |
lookupSupplier(String name) |
public InMemoryFunctionCatalog(Set<FunctionRegistration<?>> registrations)
public <T> Supplier<T> lookupSupplier(String name)
lookupSupplier in interface FunctionCatalogpublic <T,R> Function<T,R> lookupFunction(String name)
lookupFunction in interface FunctionCatalogpublic <T> Consumer<T> lookupConsumer(String name)
lookupConsumer in interface FunctionCatalogpublic Set<String> getSupplierNames()
getSupplierNames in interface FunctionCatalogpublic Set<String> getFunctionNames()
getFunctionNames in interface FunctionCatalogpublic Set<String> getConsumerNames()
getConsumerNames in interface FunctionCatalogCopyright © 2017 Pivotal Software, Inc.. All rights reserved.