public class JCacheManager<K,V> extends Object implements Closeable
Constructor and Description |
---|
JCacheManager(javax.cache.Cache<K,V> cache) |
JCacheManager(JCacheConfiguration configuration,
String cacheName) |
JCacheManager(JCacheConfiguration configuration,
String cacheName,
org.apache.camel.CamelContext camelContext) |
JCacheManager(JCacheConfiguration configuration,
String cacheName,
ClassLoader classLoader) |
JCacheManager(JCacheConfiguration configuration,
String cacheName,
ClassLoader classLoader,
org.apache.camel.CamelContext camelContext) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
javax.cache.Cache<K,V> |
getCache() |
String |
getCacheName() |
JCacheConfiguration |
getConfiguration() |
public JCacheManager(JCacheConfiguration configuration, String cacheName)
public JCacheManager(JCacheConfiguration configuration, String cacheName, org.apache.camel.CamelContext camelContext)
public JCacheManager(JCacheConfiguration configuration, String cacheName, ClassLoader classLoader)
public JCacheManager(JCacheConfiguration configuration, String cacheName, ClassLoader classLoader, org.apache.camel.CamelContext camelContext)
public String getCacheName()
public JCacheConfiguration getConfiguration()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Apache Camel