Interface CacheContainer

    • Field Summary

      • Fields inherited from interface org.infinispan.commons.api.BasicCacheContainer

        DEFAULT_CACHE_NAME
    • 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()
      This method overrides the underlying getCache(), to return a Cache instead of a BasicCache
      <K,​V>
      Cache<K,​V>
      getCache​(String cacheName)
      This method overrides the underlying getCache(String), to return a Cache instead of a BasicCache
      • 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()
        This method overrides the underlying getCache(), to return a Cache instead of a BasicCache
        Specified by:
        getCache in interface org.infinispan.commons.api.BasicCacheContainer
      • getCache

        <K,​V> Cache<K,​V> getCache​(String cacheName)
        This method overrides the underlying getCache(String), to return a Cache instead of a BasicCache
        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.
        Returns: