public class JCacheManager<K,V> extends Object implements Closeable
Constructor and Description |
---|
JCacheManager(javax.cache.Cache<K,V> cache) |
JCacheManager(JCacheConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected javax.cache.Cache<K,V> |
doGetCache(JCacheProvider jcacheProvider) |
javax.cache.Cache<K,V> |
getCache() |
String |
getCacheName() |
JCacheConfiguration |
getConfiguration() |
protected javax.cache.event.CacheEntryEventFilter |
getEventFilter() |
public JCacheManager(JCacheConfiguration configuration)
public String getCacheName()
public JCacheConfiguration getConfiguration()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
protected javax.cache.event.CacheEntryEventFilter getEventFilter()
protected javax.cache.Cache<K,V> doGetCache(JCacheProvider jcacheProvider) throws Exception
Exception
Apache Camel