Class InfinispanCacheFactory

    • Constructor Detail

      • InfinispanCacheFactory

        public InfinispanCacheFactory​(org.infinispan.manager.EmbeddedCacheManager cm,
                                      ClassLoader classLoader)
    • Method Detail

      • get

        public <K,​V> Cache<K,​V> get​(String cacheName)
        Description copied from interface: CacheFactory
        Create / Get the cache for the give type use
        Specified by:
        get in interface CacheFactory
        Parameters:
        cacheName - - name of the cache
        Returns:
      • destroy

        public void destroy()
        Description copied from interface: CacheFactory
        Destroy the cache factory and any caches underneath.
        Specified by:
        destroy in interface CacheFactory
      • stop

        public void stop()