Interface InfinispanManager<C extends org.infinispan.commons.api.BasicCacheContainer>

All Superinterfaces:
AutoCloseable, org.infinispan.commons.api.BasicCacheContainer, org.apache.camel.CamelContextAware, org.apache.camel.spi.HasCamelContext, 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

    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>>
    CacheType
    getCache(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>>
    CacheType
    getCache(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>>
    CacheType
    getCache(org.apache.camel.Message message, String defaultCache, Class<CacheType> type)
     
     

    Methods inherited from interface org.infinispan.commons.api.BasicCacheContainer

    getCache, getCacheNames

    Methods inherited from interface org.apache.camel.CamelContextAware

    setCamelContext

    Methods inherited from interface org.apache.camel.spi.HasCamelContext

    getCamelContext

    Methods inherited from interface org.infinispan.commons.api.Lifecycle

    start, stop

    Methods inherited from interface org.apache.camel.Service

    build, close, init, start, stop
  • Method Details

    • getCache

      <K, V> org.infinispan.commons.api.BasicCache<K,V> getCache(String cacheName)
      Specified by:
      getCache in interface org.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()