public class MapCacheManager extends Object implements ICacheManager
NEVER_EXPIRE| 构造器和说明 |
|---|
MapCacheManager(com.jarvis.cache.to.AutoLoadConfig config,
com.jarvis.cache.clone.ICloner cloner) |
MapCacheManager(com.jarvis.cache.to.AutoLoadConfig config,
com.jarvis.cache.clone.ICloner cloner,
int initSize) |
public MapCacheManager(com.jarvis.cache.to.AutoLoadConfig config, com.jarvis.cache.clone.ICloner cloner)
public MapCacheManager(com.jarvis.cache.to.AutoLoadConfig config, com.jarvis.cache.clone.ICloner cloner, int initSize)
public void start()
public void destroy()
public void setCache(com.jarvis.cache.to.CacheKeyTO cacheKeyTO, com.jarvis.cache.to.CacheWrapper<Object> result, Method method) throws com.jarvis.cache.exception.CacheCenterConnectionException
public void mset(Method method, Collection<MSetParam> params) throws com.jarvis.cache.exception.CacheCenterConnectionException
public com.jarvis.cache.to.CacheWrapper<Object> get(com.jarvis.cache.to.CacheKeyTO cacheKeyTO, Method method) throws com.jarvis.cache.exception.CacheCenterConnectionException
public Map<com.jarvis.cache.to.CacheKeyTO,com.jarvis.cache.to.CacheWrapper<Object>> mget(Method method, Type returnType, Set<com.jarvis.cache.to.CacheKeyTO> keys) throws com.jarvis.cache.exception.CacheCenterConnectionException
public void delete(Set<com.jarvis.cache.to.CacheKeyTO> keys) throws com.jarvis.cache.exception.CacheCenterConnectionException
public ConcurrentHashMap<String,Object> getCache()
public String getPersistFile()
public void setPersistFile(String persistFile)
public boolean isNeedPersist()
public void setNeedPersist(boolean needPersist)
public int getUnpersistMaxSize()
public void setUnpersistMaxSize(int unpersistMaxSize)
public boolean isCopyValueOnGet()
public void setCopyValueOnGet(boolean copyValueOnGet)
public boolean isCopyValueOnSet()
public void setCopyValueOnSet(boolean copyValueOnSet)
public int getClearAndPersistPeriod()
public void setClearAndPersistPeriod(int clearAndPersistPeriod)
public com.jarvis.cache.to.AutoLoadConfig getAutoLoadConfig()
Copyright © 2020. All rights reserved.