Package com.oracle.coherence.grpc.proxy
Interface ConfigurableCacheFactorySuppliers
-
public interface ConfigurableCacheFactorySuppliers
A factory ofConfigurableCacheFactory
supplier functions that can return aConfigurableCacheFactory
for a given scope name.- Author:
- Jonathan Knight 2020.09.24
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ConfigurableCacheFactorySuppliers.DefaultCacheFactorySupplier
The defaultConfigurableCacheFactory
supplier.static class
ConfigurableCacheFactorySuppliers.FixedCacheFactorySupplier
A fixedConfigurableCacheFactory
supplier that only supplies theConfigurableCacheFactory
instances provided when it was constructed.
-
Field Summary
Fields Modifier and Type Field Description static Function<String,ConfigurableCacheFactory>
DEFAULT
The default instance of the DefaultCacheFactorySupplier.
-
Method Summary
Static Methods Modifier and Type Method Description static Function<String,ConfigurableCacheFactory>
fixed(ConfigurableCacheFactory... ccfs)
Returns an instance of a fixed supplier that only returns one of the specified set ofConfigurableCacheFactory
instances.
-
-
-
Field Detail
-
DEFAULT
static final Function<String,ConfigurableCacheFactory> DEFAULT
The default instance of the DefaultCacheFactorySupplier.
-
-
Method Detail
-
fixed
static Function<String,ConfigurableCacheFactory> fixed(ConfigurableCacheFactory... ccfs)
Returns an instance of a fixed supplier that only returns one of the specified set ofConfigurableCacheFactory
instances.- Returns:
- an instance of a fixed supplier
-
-