public abstract class ValidatingCacheManager extends Object implements org.apache.shiro.cache.CacheManager
| Modifier and Type | Class and Description |
|---|---|
static class |
ValidatingCacheManager.CacheValidator<CVK,CVV>
Base class for defining the validation for whether a cached value is current or stale.
|
| Constructor and Description |
|---|
ValidatingCacheManager(org.apache.shiro.cache.CacheManager delegate) |
| Modifier and Type | Method and Description |
|---|---|
<K,V> org.apache.shiro.cache.Cache<K,V> |
getCache(String name) |
protected abstract ValidatingCacheManager.CacheValidator<?,?> |
getCacheValidatorForCache(String name)
Subclasses should return the cache validator for the cache with the given name.
|
public ValidatingCacheManager(org.apache.shiro.cache.CacheManager delegate)
@Nullable protected abstract ValidatingCacheManager.CacheValidator<?,?> getCacheValidatorForCache(String name)
public <K,V> org.apache.shiro.cache.Cache<K,V> getCache(String name) throws org.apache.shiro.cache.CacheException
getCache in interface org.apache.shiro.cache.CacheManagerorg.apache.shiro.cache.CacheExceptionCopyright © 2016. All Rights Reserved.