Class JCacheManager

java.lang.Object
org.infinispan.jcache.AbstractJCacheManager
org.infinispan.jcache.remote.JCacheManager
All Implemented Interfaces:
Closeable, AutoCloseable, javax.cache.CacheManager

public class JCacheManager extends org.infinispan.jcache.AbstractJCacheManager
  • Field Summary

    Fields inherited from class org.infinispan.jcache.AbstractJCacheManager

    properties
  • Constructor Summary

    Constructors
    Constructor
    Description
    JCacheManager(URI uri, ClassLoader classLoader, javax.cache.spi.CachingProvider provider, Properties userProperties)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected <K, V, I extends org.infinispan.commons.api.BasicCache<K, V>>
    org.infinispan.jcache.AbstractJCache<K,V>
    create(I ispnCache)
     
    protected <K, V, C extends javax.cache.configuration.Configuration<K, V>>
    org.infinispan.jcache.AbstractJCache<K,V>
    create(String cacheName, C configuration)
     
    <K, V> javax.cache.Cache<K,V>
     
    protected Iterable<String>
     
    protected boolean
     
    protected void
     
    protected <K, V> void
    delegateRemoveCache(org.infinispan.jcache.AbstractJCache<K,V> jcache)
     
    protected void
     
    <K, V> javax.cache.Cache<K,V>
    getCache(String cacheName)
     
    <K, V> javax.cache.Cache<K,V>
    getCache(String cacheName, Class<K> keyType, Class<V> valueType)
     
     
    <T> T
    unwrap(Class<T> clazz)
     

    Methods inherited from class org.infinispan.jcache.AbstractJCacheManager

    close, createCache, destroyCache, enableManagement, enableStatistics, finalize, getCacheNames, getCachingProvider, getManagedCacheNames, getOrCreateCache, getProperties, getURI, isClosed, registerPredefinedCache

    Methods inherited from class java.lang.Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JCacheManager

      public JCacheManager(URI uri, ClassLoader classLoader, javax.cache.spi.CachingProvider provider, Properties userProperties)
  • Method Details

    • getClassLoader

      public ClassLoader getClassLoader()
    • create

      protected <K, V, C extends javax.cache.configuration.Configuration<K, V>> org.infinispan.jcache.AbstractJCache<K,V> create(String cacheName, C configuration)
      Specified by:
      create in class org.infinispan.jcache.AbstractJCacheManager
    • getCache

      public <K, V> javax.cache.Cache<K,V> getCache(String cacheName)
      Specified by:
      getCache in interface javax.cache.CacheManager
      Overrides:
      getCache in class org.infinispan.jcache.AbstractJCacheManager
    • createRegisterJCache

      public <K, V> javax.cache.Cache<K,V> createRegisterJCache(String cacheName)
    • getCache

      public <K, V> javax.cache.Cache<K,V> getCache(String cacheName, Class<K> keyType, Class<V> valueType)
      Specified by:
      getCache in interface javax.cache.CacheManager
      Overrides:
      getCache in class org.infinispan.jcache.AbstractJCacheManager
    • create

      protected <K, V, I extends org.infinispan.commons.api.BasicCache<K, V>> org.infinispan.jcache.AbstractJCache<K,V> create(I ispnCache)
      Specified by:
      create in class org.infinispan.jcache.AbstractJCacheManager
    • unwrap

      public <T> T unwrap(Class<T> clazz)
    • delegateCacheNames

      protected Iterable<String> delegateCacheNames()
      Specified by:
      delegateCacheNames in class org.infinispan.jcache.AbstractJCacheManager
    • delegateStop

      protected void delegateStop()
      Specified by:
      delegateStop in class org.infinispan.jcache.AbstractJCacheManager
    • delegateIsClosed

      protected boolean delegateIsClosed()
      Specified by:
      delegateIsClosed in class org.infinispan.jcache.AbstractJCacheManager
    • delegateRemoveCache

      protected <K, V> void delegateRemoveCache(org.infinispan.jcache.AbstractJCache<K,V> jcache)
      Specified by:
      delegateRemoveCache in class org.infinispan.jcache.AbstractJCacheManager
    • delegateLogIsClosed

      protected void delegateLogIsClosed()
      Specified by:
      delegateLogIsClosed in class org.infinispan.jcache.AbstractJCacheManager