public abstract class ValidatingCacheManager
extends java.lang.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(java.lang.String name) |
protected abstract ValidatingCacheManager.CacheValidator<?,?> |
getCacheValidatorForCache(java.lang.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(java.lang.String name)
public <K,V> org.apache.shiro.cache.Cache<K,V> getCache(java.lang.String name)
throws org.apache.shiro.cache.CacheException
getCache in interface org.apache.shiro.cache.CacheManagerorg.apache.shiro.cache.CacheExceptionCopyright © 2021. All Rights Reserved.