Interface CacheContainer

    • Method Detail

      • getCache

        <K,​V> Cache<K,​V> getCache​(String cacheName)
        Description copied from interface: BasicCacheContainer
        Retrieves a cache by name.

        If the cache has been previously created with the same name, the running cache instance is returned. Otherwise, this method attempts to create the cache first.

        Specified by:
        getCache in interface BasicCacheContainer
        Parameters:
        cacheName - name of cache to retrieve
        Returns:
        a cache instance identified by cacheName
      • administration

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