Package com.oracle.coherence.grpc.proxy
Interface ConfigurableCacheFactorySuppliers
-
public interface ConfigurableCacheFactorySuppliersA factory ofConfigurableCacheFactorysupplier functions that can return aConfigurableCacheFactoryfor a given scope name.- Author:
- Jonathan Knight 2020.09.24
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classConfigurableCacheFactorySuppliers.DefaultCacheFactorySupplierThe defaultConfigurableCacheFactorysupplier.static classConfigurableCacheFactorySuppliers.FixedCacheFactorySupplierA fixedConfigurableCacheFactorysupplier that only supplies theConfigurableCacheFactoryinstances provided when it was constructed.
-
Field Summary
Fields Modifier and Type Field Description static Function<String,ConfigurableCacheFactory>DEFAULTThe 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 ofConfigurableCacheFactoryinstances.
-
-
-
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 ofConfigurableCacheFactoryinstances.- Returns:
- an instance of a fixed supplier
-
-