Class InternalCacheFactory<K,​V>

    • Constructor Detail

      • InternalCacheFactory

        public InternalCacheFactory()
    • Method Detail

      • createCache

        public Cache<K,​V> createCache​(Configuration configuration,
                                            GlobalComponentRegistry globalComponentRegistry,
                                            java.lang.String cacheName)
                                     throws CacheConfigurationException
        This implementation clones the configuration passed in before using it.
        Parameters:
        configuration - to use
        globalComponentRegistry - global component registry to attach the cache to
        cacheName - name of the cache
        Returns:
        a cache
        Throws:
        CacheConfigurationException - if there are problems with the cfg