public class RedisCacheManager extends Object implements CacheManager
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
THREAD_LOCK |
| 构造器和说明 |
|---|
RedisCacheManager(String systemCode) |
| 限定符和类型 | 方法和说明 |
|---|---|
Cache |
createCache(String name,
int maxcacheSIze,
long maxLifetime) |
Map |
getAllCache()
Returns all caches that this this manager contained.
|
Map |
getAllCacheNS()
Returns all CACHES that this this manager contained.
|
Cache |
getCache(String cacheKey)
Gets Cache object for certain application with cacheKey
|
Cache |
getCacheNS(String cacheKey) |
boolean |
isCacheEnabled()
Returns true if cache is globally enabled.
|
boolean |
isCacheEnabledNS()
Returns true if cache is globally enabled.
|
public RedisCacheManager(String systemCode)
public Cache createCache(String name, int maxcacheSIze, long maxLifetime)
createCache 在接口中 CacheManagerpublic Map getAllCacheNS()
public Map getAllCache()
CacheManagergetAllCache 在接口中 CacheManagerpublic boolean isCacheEnabledNS()
public boolean isCacheEnabled()
isCacheEnabled 在接口中 CacheManagerpublic Cache getCache(String cacheKey)
CacheManagergetCache 在接口中 CacheManagerCopyright © 2023 onecode. All rights reserved.