Class JCSCachingManager

java.lang.Object
org.apache.commons.jcs3.jcache.JCSCachingManager
All Implemented Interfaces:
Closeable, AutoCloseable, javax.cache.CacheManager

public class JCSCachingManager extends Object implements javax.cache.CacheManager
  • Constructor Details

  • Method Details

    • createCache

      public <K, V, C extends javax.cache.configuration.Configuration<K, V>> javax.cache.Cache<K,V> createCache(String cacheName, C configuration) throws IllegalArgumentException
      Specified by:
      createCache in interface javax.cache.CacheManager
      Throws:
      IllegalArgumentException
    • destroyCache

      public void destroyCache(String cacheName)
      Specified by:
      destroyCache in interface javax.cache.CacheManager
    • enableManagement

      public void enableManagement(String cacheName, boolean enabled)
      Specified by:
      enableManagement in interface javax.cache.CacheManager
    • enableStatistics

      public void enableStatistics(String cacheName, boolean enabled)
      Specified by:
      enableStatistics in interface javax.cache.CacheManager
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface javax.cache.CacheManager
      Specified by:
      close in interface Closeable
    • unwrap

      public <T> T unwrap(Class<T> clazz)
      Specified by:
      unwrap in interface javax.cache.CacheManager
    • isClosed

      public boolean isClosed()
      Specified by:
      isClosed in interface javax.cache.CacheManager
    • getCache

      public <K, V> javax.cache.Cache<K,V> getCache(String cacheName)
      Specified by:
      getCache in interface javax.cache.CacheManager
    • getCacheNames

      Specified by:
      getCacheNames in interface javax.cache.CacheManager
    • 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
    • getCachingProvider

      public javax.cache.spi.CachingProvider getCachingProvider()
      Specified by:
      getCachingProvider in interface javax.cache.CacheManager
    • getURI

      public URI getURI()
      Specified by:
      getURI in interface javax.cache.CacheManager
    • getClassLoader

      Specified by:
      getClassLoader in interface javax.cache.CacheManager
    • getProperties

      Specified by:
      getProperties in interface javax.cache.CacheManager
    • release

      public void release(String name)