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>>
      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)  
      C getCacheContainer()  
      • Methods inherited from interface org.infinispan.commons.api.BasicCacheContainer

        getCache, getCacheNames
      • Methods inherited from interface org.apache.camel.CamelContextAware

        getCamelContext, setCamelContext
      • 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 Detail

      • 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()