Interface CacheContainer

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default org.infinispan.commons.api.CacheContainerAdmin<?,​?> administration()
      Provides access to administrative methods which affect the underlying cache container, such as cache creation and removal.
      <K,​V>
      Cache<K,​V>
      getCache()  
      <K,​V>
      Cache<K,​V>
      getCache​(String cacheName)  
      • Methods inherited from interface org.infinispan.commons.api.BasicCacheContainer

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

        start, stop
    • Method Detail

      • getCache

        <K,​V> Cache<K,​V> getCache()
        Specified by:
        getCache in interface org.infinispan.commons.api.BasicCacheContainer
      • getCache

        <K,​V> Cache<K,​V> getCache​(String cacheName)
        Specified by:
        getCache in interface org.infinispan.commons.api.BasicCacheContainer
      • administration

        default org.infinispan.commons.api.CacheContainerAdmin<?,​?> administration()
        Provides access to administrative methods which affect the underlying cache container, such as cache creation and removal. If the underlying container is clustered or remote, the operations will affect all nodes.