Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.cache
Interface CacheManager

All Known Implementing Classes:
  AbstractCacheManager, CompositeCacheManager, ConcurrentMapCacheManager, EhCacheCacheManager, JCacheCacheManager, NoOpCacheManager, SimpleCacheManager

    public interface CacheManager

A manager for a set of `Cache`s.

Since:
  3.1
Author:
  Costin Leau

Method Summary
`Cache` | `getCache(java.lang.String name)` Return the cache associated with the given name.
`java.util.Collection<java.lang.String>` | `getCacheNames()` Return a collection of the caches known by this cache manager.

Method Detail

### getCache

    Cache getCache(java.lang.String name)

  Return the cache associated with the given name.

  Parameters:
    `name` - cache identifier (must not be `null`)
  Returns:
    associated cache, or `null` if none is found

### getCacheNames

    java.util.Collection<java.lang.String> getCacheNames()

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

  Returns:
    names of caches known by the cache manager.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD