public class ComboCacheManager extends Object implements ICacheManager
NEVER_EXPIRE| 构造器和说明 |
|---|
ComboCacheManager(ICacheManager localCache,
ICacheManager remoteCache,
AbstractScriptParser scriptParser) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
delete(Set<CacheKeyTO> keys) |
CacheWrapper<Object> |
get(CacheKeyTO key,
Method method) |
Map<CacheKeyTO,CacheWrapper<Object>> |
mget(Method method,
Type returnType,
Set<CacheKeyTO> keys) |
void |
mset(Method method,
Collection<MSetParam> params) |
void |
setCache(CacheKeyTO cacheKey,
CacheWrapper<Object> result,
Method method) |
public ComboCacheManager(ICacheManager localCache, ICacheManager remoteCache, AbstractScriptParser scriptParser)
public void setCache(CacheKeyTO cacheKey, CacheWrapper<Object> result, Method method) throws CacheCenterConnectionException
setCache 在接口中 ICacheManagerCacheCenterConnectionExceptionpublic void mset(Method method, Collection<MSetParam> params) throws CacheCenterConnectionException
mset 在接口中 ICacheManagerCacheCenterConnectionExceptionpublic CacheWrapper<Object> get(CacheKeyTO key, Method method) throws CacheCenterConnectionException
get 在接口中 ICacheManagerCacheCenterConnectionExceptionpublic Map<CacheKeyTO,CacheWrapper<Object>> mget(Method method, Type returnType, Set<CacheKeyTO> keys) throws CacheCenterConnectionException
mget 在接口中 ICacheManagerCacheCenterConnectionExceptionpublic void delete(Set<CacheKeyTO> keys) throws CacheCenterConnectionException
delete 在接口中 ICacheManagerCacheCenterConnectionExceptionCopyright © 2020. All rights reserved.