public class RedisCacheManager extends Object implements org.apache.shiro.cache.CacheManager
| 构造器和说明 |
|---|
RedisCacheManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
<K,V> org.apache.shiro.cache.Cache<K,V> |
getCache(String name) |
String |
getKeyPrefix()
Returns the Redis session keys
prefix.
|
void |
setKeyPrefix(String keyPrefix)
Sets the Redis sessions key
prefix.
|
public String getKeyPrefix()
public void setKeyPrefix(String keyPrefix)
keyPrefix - The prefixpublic <K,V> org.apache.shiro.cache.Cache<K,V> getCache(String name) throws org.apache.shiro.cache.CacheException
getCache 在接口中 org.apache.shiro.cache.CacheManagerorg.apache.shiro.cache.CacheExceptionCopyright © 2017. All rights reserved.