public class NoOpCacheManager extends Object implements CacheManager
CacheManagerimplementation 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.
|Constructor and Description|
|Modifier and Type||Method and Description|
This implementation always returns a
This implementation returns the name of the caches previously requested.
@Nullable public Cache getCache(String name)
Cacheimplementation that will not store items. Additionally, the request cache will be remembered by the manager for consistency.
name- the cache identifier (must not be
nullif such a cache does not exist or could be not created
public Collection<String> getCacheNames()