public interface

CacheManager

org.springframework.cache.CacheManager
Known Indirect Subclasses

Class Overview

Entity managing Caches.

Summary

Public Methods
abstract <K, V> Cache<K, V> getCache(String name)
Returns the cache associated with the given name.
abstract Collection<String> getCacheNames()
Returns a collection of the caches known by this cache manager.

Public Methods

public abstract Cache<K, V> getCache (String name)

Returns the cache associated with the given name.

Parameters
name cache identifier - cannot be null
Returns
  • associated cache or null if none is found

public abstract Collection<String> getCacheNames ()

Returns a collection of the caches known by this cache manager.

Returns
  • names of caches known by the cache manager.