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,
CacheConfigTO method) |
Map<CacheKeyTO,CacheWrapper<Object>> |
mget(CacheConfigTO method,
Type returnType,
Set<CacheKeyTO> keys) |
void |
mset(CacheConfigTO method,
Collection<MSetParam> params) |
void |
setCache(CacheKeyTO cacheKey,
CacheWrapper<Object> result,
CacheConfigTO method)
往缓存写数据
|
public ComboCacheManager(ICacheManager localCache, ICacheManager remoteCache, AbstractScriptParser scriptParser)
public void setCache(CacheKeyTO cacheKey, CacheWrapper<Object> result, CacheConfigTO method) throws CacheCenterConnectionException
setCache 在接口中 ICacheManagercacheKey - 缓存Keyresult - 缓存数据CacheCenterConnectionExceptionpublic void mset(CacheConfigTO method, Collection<MSetParam> params) throws CacheCenterConnectionException
mset 在接口中 ICacheManagerCacheCenterConnectionExceptionpublic CacheWrapper<Object> get(CacheKeyTO key, CacheConfigTO method) throws CacheCenterConnectionException
get 在接口中 ICacheManagerCacheCenterConnectionExceptionpublic Map<CacheKeyTO,CacheWrapper<Object>> mget(CacheConfigTO method, Type returnType, Set<CacheKeyTO> keys) throws CacheCenterConnectionException
mget 在接口中 ICacheManagerCacheCenterConnectionExceptionpublic void delete(Set<CacheKeyTO> keys) throws CacheCenterConnectionException
delete 在接口中 ICacheManagerCacheCenterConnectionExceptionCopyright © 2020. All rights reserved.