public class NoOpCacheManager extends Object implements CacheManager
CacheManager implementation suitable
for disabling caching, typically used for backing cache declarations
without an actual backing store.
Will simply accept any items into the cache not actually storing them.
CompositeCacheManager| Constructor and Description |
|---|
NoOpCacheManager() |
| Modifier and Type | Method and Description |
|---|---|
Cache |
getCache(String name)
Return the cache associated with the given name.
|
Collection<String> |
getCacheNames()
Return a collection of the caches known by this cache manager.
|
public Cache getCache(String name)
Cache implementation that will not
store items. Additionally, the request cache will be remembered by the manager for consistency.getCache in interface CacheManagername - cache identifier (must not be null)null if none is foundpublic Collection<String> getCacheNames()
getCacheNames in interface CacheManagerCopyright © 2013. All Rights Reserved.