org.springframework.cache
Interface CacheManager

All Known Implementing Classes:
AbstractCacheManager, CompositeCacheManager, EhCacheCacheManager, SimpleCacheManager

public interface CacheManager

Entity managing Caches.

Author:
Costin Leau

Method Summary
 Cache getCache(String name)
          Returns the cache associated with the given name.
 Collection<String> getCacheNames()
          Returns a collection of the caches known by this cache manager.
 

Method Detail

getCache

Cache 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

getCacheNames

Collection<String> getCacheNames()
Returns a collection of the caches known by this cache manager.

Returns:
names of caches known by the cache manager.