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
        cacheName - - name of the cache
      • 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()