Interface InfinispanManager<C extends org.infinispan.commons.api.BasicCacheContainer>
-
- All Superinterfaces:
AutoCloseable,org.infinispan.commons.api.BasicCacheContainer,org.apache.camel.CamelContextAware,org.infinispan.commons.api.Lifecycle,org.apache.camel.Service
public interface InfinispanManager<C extends org.infinispan.commons.api.BasicCacheContainer> extends org.infinispan.commons.api.BasicCacheContainer, org.apache.camel.CamelContextAware, org.apache.camel.Service
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <K,V>
org.infinispan.commons.api.BasicCache<K,V>getCache(String cacheName)default <K,V,CacheType extends org.infinispan.commons.api.BasicCache<K,V>>
CacheTypegetCache(String cacheName, Class<CacheType> type)default <K,V>
org.infinispan.commons.api.BasicCache<K,V>getCache(org.apache.camel.Exchange exchange, String defaultCache)default <K,V,CacheType extends org.infinispan.commons.api.BasicCache<K,V>>
CacheTypegetCache(org.apache.camel.Exchange exchange, String defaultCache, Class<CacheType> type)default <K,V>
org.infinispan.commons.api.BasicCache<K,V>getCache(org.apache.camel.Message message, String defaultCache)default <K,V,CacheType extends org.infinispan.commons.api.BasicCache<K,V>>
CacheTypegetCache(org.apache.camel.Message message, String defaultCache, Class<CacheType> type)CgetCacheContainer()-
Methods inherited from interface org.infinispan.commons.api.BasicCacheContainer
getCache, getCacheNames
-
-
-
-
Method Detail
-
getCache
<K,V> org.infinispan.commons.api.BasicCache<K,V> getCache(String cacheName)
- Specified by:
getCachein interfaceorg.infinispan.commons.api.BasicCacheContainer
-
getCache
default <K,V,CacheType extends org.infinispan.commons.api.BasicCache<K,V>> CacheType getCache(String cacheName, Class<CacheType> type)
-
getCache
default <K,V> org.infinispan.commons.api.BasicCache<K,V> getCache(org.apache.camel.Message message, String defaultCache)
-
getCache
default <K,V,CacheType extends org.infinispan.commons.api.BasicCache<K,V>> CacheType getCache(org.apache.camel.Message message, String defaultCache, Class<CacheType> type)
-
getCache
default <K,V> org.infinispan.commons.api.BasicCache<K,V> getCache(org.apache.camel.Exchange exchange, String defaultCache)
-
getCache
default <K,V,CacheType extends org.infinispan.commons.api.BasicCache<K,V>> CacheType getCache(org.apache.camel.Exchange exchange, String defaultCache, Class<CacheType> type)
-
getCacheContainer
C getCacheContainer()
-
-