Interface CacheContainer

All Superinterfaces:
org.infinispan.commons.api.BasicCacheContainer, org.infinispan.commons.api.Lifecycle
All Known Subinterfaces:
EmbeddedCacheManager
All Known Implementing Classes:
AbstractDelegatingEmbeddedCacheManager, DefaultCacheManager, InternalCacheManager

public interface CacheContainer extends org.infinispan.commons.api.BasicCacheContainer
  • Method Summary

    Modifier and Type
    Method
    Description
    default org.infinispan.commons.api.CacheContainerAdmin<?,?>
    Provides access to administrative methods which affect the underlying cache container, such as cache creation and removal.
    <K, V> Cache<K,V>
     
    <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 Details

    • 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.