Package one.microstream.cache.types
Class CacheManager.Default
java.lang.Object
one.microstream.cache.types.CacheManager.Default
- All Implemented Interfaces:
Closeable
,AutoCloseable
,javax.cache.CacheManager
,CacheManager
- Enclosing interface:
- CacheManager
public static class CacheManager.Default extends Object implements CacheManager
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.cache.types.CacheManager
CacheManager.Default
-
Method Summary
Modifier and Type Method Description void
close()
<K, V, C extends javax.cache.configuration.Configuration<K, V>>
Cache<K,V>createCache(String cacheName, C configuration)
void
destroyCache(String cacheName)
void
enableManagement(String cacheName, boolean enabled)
void
enableStatistics(String cacheName, boolean enabled)
<K, V> Cache<K,V>
getCache(String cacheName)
<K, V> Cache<K,V>
getCache(String cacheName, Class<K> keyType, Class<V> valueType)
Iterable<String>
getCacheNames()
CachingProvider
getCachingProvider()
ClassLoader
getClassLoader()
Properties
getProperties()
URI
getURI()
boolean
isClosed()
void
removeCache(String cacheName)
-
Method Details
-
getCachingProvider
- Specified by:
getCachingProvider
in interfacejavax.cache.CacheManager
- Specified by:
getCachingProvider
in interfaceCacheManager
-
isClosed
public boolean isClosed()- Specified by:
isClosed
in interfacejavax.cache.CacheManager
-
getURI
- Specified by:
getURI
in interfacejavax.cache.CacheManager
-
getProperties
- Specified by:
getProperties
in interfacejavax.cache.CacheManager
-
getClassLoader
- Specified by:
getClassLoader
in interfacejavax.cache.CacheManager
-
createCache
public <K, V, C extends javax.cache.configuration.Configuration<K, V>> Cache<K,V> createCache(String cacheName, C configuration) throws IllegalArgumentException- Specified by:
createCache
in interfacejavax.cache.CacheManager
- Specified by:
createCache
in interfaceCacheManager
- Throws:
IllegalArgumentException
-
getCache
- Specified by:
getCache
in interfacejavax.cache.CacheManager
- Specified by:
getCache
in interfaceCacheManager
-
getCache
- Specified by:
getCache
in interfacejavax.cache.CacheManager
- Specified by:
getCache
in interfaceCacheManager
-
getCacheNames
- Specified by:
getCacheNames
in interfacejavax.cache.CacheManager
-
destroyCache
- Specified by:
destroyCache
in interfacejavax.cache.CacheManager
-
removeCache
- Specified by:
removeCache
in interfaceCacheManager
-
enableManagement
- Specified by:
enableManagement
in interfacejavax.cache.CacheManager
-
enableStatistics
- Specified by:
enableStatistics
in interfacejavax.cache.CacheManager
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfacejavax.cache.CacheManager
- Specified by:
close
in interfaceCloseable
-