Class ConfigurableCacheFactorySuppliers.DefaultCacheFactorySupplier

  • All Implemented Interfaces:
    Function<String,​com.tangosol.net.ConfigurableCacheFactory>
    Enclosing interface:
    ConfigurableCacheFactorySuppliers

    public static class ConfigurableCacheFactorySuppliers.DefaultCacheFactorySupplier
    extends Object
    implements Function<String,​com.tangosol.net.ConfigurableCacheFactory>
    The default ConfigurableCacheFactory supplier.

    This supplier will return the default ConfigurableCacheFactory from the CacheFactoryBuilder for the default, or null scope. For other scope values a System property of coherence.cacheconfig.scope-name must have been set to the URI of the required cache configuration file.

    • Constructor Detail

      • DefaultCacheFactorySupplier

        public DefaultCacheFactorySupplier()
    • Method Detail

      • apply

        public com.tangosol.net.ConfigurableCacheFactory apply​(String scope)
        Specified by:
        apply in interface Function<String,​com.tangosol.net.ConfigurableCacheFactory>