public abstract class AbstractCacheMap<K extends java.io.Serializable,V extends java.io.Serializable> extends AbstractGroupCacheable implements CacheMap<K,V>
| 限定符和类型 | 字段和说明 |
|---|---|
protected CacheConfiguration |
cacheConfiguration |
protected CacheMapDataLoader<K,V> |
cacheMapDataLoader |
protected static org.apache.commons.logging.Log |
logger |
statisticsisCacheDisabled| 构造器和说明 |
|---|
AbstractCacheMap(java.lang.String group,
java.lang.String name,
CacheConfiguration cacheConfiguration,
com.seeyon.ctp.component.cache.redis.L2CacheMapLoader_Inner<K,V,java.lang.String> dataLoader) |
AbstractCacheMap(java.lang.String group,
java.lang.String name,
CacheConfiguration cacheConfiguration,
com.seeyon.ctp.component.cache.redis.L2CacheMapLoader_Inner<K,V,java.lang.String> dataLoader,
java.lang.Boolean isRestartReload) |
AbstractCacheMap(java.lang.String group,
java.lang.String name,
CacheConfiguration cacheConfiguration,
MapDataLoader<K,V> dataLoader) |
AbstractCacheMap(java.lang.String group,
java.lang.String name,
CacheConfiguration cacheConfiguration,
MapDataLoader<K,V> dataLoader,
java.lang.Boolean isRestartReload)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
CacheConfiguration |
getCacheConfiguration() |
CacheMapDataLoader<K,V> |
getCacheMapDataLoader()
取得缓存数据加载。
|
boolean |
isEmpty()
Returns true if this list contains no elements.
|
void |
setCacheConfiguration(CacheConfiguration cacheConfiguration) |
checkBatchCacheMiss, checkBatchInProtectCache, checkCacheMiss, checkInProtectCache, clearProtectCache, getCacheKey, getFullName, getGroup, getName, getStatistics, invalidateProtectCache, invalidateProtectCache, setBatchProtectCache, setProtectCache, setProtectDataExpireclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckInValidKeys, clearAndPutAll, contains, endLocalMode, get, getBatch, getFromLocal, keySet, put, putAll, putNoWait, putToLocal, remove, removeAll, startLocalMode, toMap, updateKey, valuesallowRedisFlush, clear, getFullName, getGroup, getName, getStatistics, needConsistent, sizeprotected static final org.apache.commons.logging.Log logger
protected CacheConfiguration cacheConfiguration
protected CacheMapDataLoader<K extends java.io.Serializable,V extends java.io.Serializable> cacheMapDataLoader
public AbstractCacheMap(java.lang.String group,
java.lang.String name,
CacheConfiguration cacheConfiguration,
MapDataLoader<K,V> dataLoader)
public AbstractCacheMap(java.lang.String group,
java.lang.String name,
CacheConfiguration cacheConfiguration,
com.seeyon.ctp.component.cache.redis.L2CacheMapLoader_Inner<K,V,java.lang.String> dataLoader)
@Deprecated
public AbstractCacheMap(java.lang.String group,
java.lang.String name,
CacheConfiguration cacheConfiguration,
MapDataLoader<K,V> dataLoader,
java.lang.Boolean isRestartReload)
public AbstractCacheMap(java.lang.String group,
java.lang.String name,
CacheConfiguration cacheConfiguration,
com.seeyon.ctp.component.cache.redis.L2CacheMapLoader_Inner<K,V,java.lang.String> dataLoader,
java.lang.Boolean isRestartReload)
public CacheConfiguration getCacheConfiguration()
public void setCacheConfiguration(CacheConfiguration cacheConfiguration)
public boolean isEmpty()
GroupCacheableisEmpty 在接口中 GroupCacheablepublic CacheMapDataLoader<K,V> getCacheMapDataLoader()