Package one.microstream.cache
Interface CacheManager
- All Superinterfaces:
AutoCloseable
,javax.cache.CacheManager
,Closeable
- All Known Implementing Classes:
CacheManager.Default
public interface CacheManager
extends javax.cache.CacheManager
JSR-107 compliant
CacheManager
.-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CacheManager.Default
-
Method Summary
Modifier and Type Method Description <K, V, C extends javax.cache.configuration.Configuration<K, V>>
Cache<K,V>createCache(String cacheName, C configuration)
<K, V> Cache<K,V>
getCache(String cacheName)
<K, V> Cache<K,V>
getCache(String cacheName, Class<K> keyType, Class<V> valueType)
CachingProvider
getCachingProvider()
void
removeCache(String cacheName)
default <T> T
unwrap(Class<T> clazz)
-
Method Details
-
getCache
- Specified by:
getCache
in interfacejavax.cache.CacheManager
-
getCache
- Specified by:
getCache
in interfacejavax.cache.CacheManager
-
createCache
<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
- Throws:
IllegalArgumentException
-
getCachingProvider
CachingProvider getCachingProvider()- Specified by:
getCachingProvider
in interfacejavax.cache.CacheManager
-
removeCache
-
unwrap
- Specified by:
unwrap
in interfacejavax.cache.CacheManager
-