Package com.oracle.coherence.grpc.proxy
Interface ConfigurableCacheFactorySuppliers
public interface ConfigurableCacheFactorySuppliers
A factory of
ConfigurableCacheFactory supplier functions
that can return a ConfigurableCacheFactory for a given
scope name.- Author:
- Jonathan Knight 2020.09.24
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classThe defaultConfigurableCacheFactorysupplier.static classA fixedConfigurableCacheFactorysupplier that only supplies theConfigurableCacheFactoryinstances provided when it was constructed. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Function<String, ConfigurableCacheFactory> The default instance of the DefaultCacheFactorySupplier. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic Function<String, ConfigurableCacheFactory> fixed(ConfigurableCacheFactory... ccfs) Returns an instance of a fixed supplier that only returns one of the specified set ofConfigurableCacheFactoryinstances.
-
Field Details
-
DEFAULT
The default instance of the DefaultCacheFactorySupplier.
-
-
Method Details
-
fixed
Returns an instance of a fixed supplier that only returns one of the specified set ofConfigurableCacheFactoryinstances.- Returns:
- an instance of a fixed supplier
-