Package com.axway.apim.lib
Class DoNothingCacheManager
- java.lang.Object
-
- com.axway.apim.lib.DoNothingCacheManager
-
- All Implemented Interfaces:
Closeable,AutoCloseable,org.ehcache.CacheManager
public class DoNothingCacheManager extends Object implements org.ehcache.CacheManager
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDoNothingCacheManager.DoNothingCache<K,V>
-
Constructor Summary
Constructors Constructor Description DoNothingCacheManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()<K,V>
org.ehcache.Cache<K,V>createCache(String arg0, org.ehcache.config.Builder<? extends org.ehcache.config.CacheConfiguration<K,V>> arg1)<K,V>
org.ehcache.Cache<K,V>createCache(String arg0, org.ehcache.config.CacheConfiguration<K,V> arg1)<K,V>
org.ehcache.Cache<K,V>getCache(String arg0, Class<K> arg1, Class<V> arg2)org.ehcache.config.ConfigurationgetRuntimeConfiguration()org.ehcache.StatusgetStatus()voidinit()voidremoveCache(String arg0)
-
-
-
Method Detail
-
close
public void close() throws org.ehcache.StateTransitionException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.ehcache.CacheManager- Specified by:
closein interfaceCloseable- Throws:
org.ehcache.StateTransitionException
-
createCache
public <K,V> org.ehcache.Cache<K,V> createCache(String arg0, org.ehcache.config.CacheConfiguration<K,V> arg1)
- Specified by:
createCachein interfaceorg.ehcache.CacheManager
-
createCache
public <K,V> org.ehcache.Cache<K,V> createCache(String arg0, org.ehcache.config.Builder<? extends org.ehcache.config.CacheConfiguration<K,V>> arg1)
- Specified by:
createCachein interfaceorg.ehcache.CacheManager
-
getCache
public <K,V> org.ehcache.Cache<K,V> getCache(String arg0, Class<K> arg1, Class<V> arg2)
- Specified by:
getCachein interfaceorg.ehcache.CacheManager
-
getRuntimeConfiguration
public org.ehcache.config.Configuration getRuntimeConfiguration()
- Specified by:
getRuntimeConfigurationin interfaceorg.ehcache.CacheManager
-
getStatus
public org.ehcache.Status getStatus()
- Specified by:
getStatusin interfaceorg.ehcache.CacheManager
-
init
public void init() throws org.ehcache.StateTransitionException- Specified by:
initin interfaceorg.ehcache.CacheManager- Throws:
org.ehcache.StateTransitionException
-
removeCache
public void removeCache(String arg0)
- Specified by:
removeCachein interfaceorg.ehcache.CacheManager
-
-