クラス RedisCacheStoreBase
java.lang.Object
org.iplass.mtp.impl.redis.cache.store.RedisCacheStoreBase
- すべての実装されたインタフェース:
org.iplass.mtp.impl.cache.store.CacheStore
- 直系の既知のサブクラス:
IndexedRedisCacheStore,RedisCacheStore
public abstract class RedisCacheStoreBase
extends Object
implements org.iplass.mtp.impl.cache.store.CacheStore
-
フィールドの概要
フィールド修飾子とタイプフィールド説明protected final NamespaceSerializedObjectCodecprotected final org.apache.commons.pool2.impl.GenericObjectPool<io.lettuce.core.api.StatefulRedisConnection<Object, Object>> protected final int -
コンストラクタの概要
コンストラクタコンストラクタ説明RedisCacheStoreBase(RedisCacheStoreFactory factory, String namespace, org.iplass.mtp.impl.cache.store.TimeToLiveCalculator timeToLiveCalculator, RedisCacheStorePoolConfig redisCacheStorePoolConfig) -
メソッドの概要
修飾子とタイプメソッド説明voidaddCacheEventListenner(org.iplass.mtp.impl.cache.store.event.CacheEventListener listener) voiddestroy()org.iplass.mtp.impl.cache.store.CacheStoreFactoryList<org.iplass.mtp.impl.cache.store.event.CacheEventListener> intgetSize()protected longgetTtlSeconds(org.iplass.mtp.impl.cache.store.CacheEntry entry) protected booleanprotected voidnotifyInvalidated(org.iplass.mtp.impl.cache.store.CacheEntry entry) protected voidnotifyPut(org.iplass.mtp.impl.cache.store.CacheEntry entry) protected voidnotifyRemoved(org.iplass.mtp.impl.cache.store.CacheEntry entry) protected voidnotifyUpdated(org.iplass.mtp.impl.cache.store.CacheEntry preEntry, org.iplass.mtp.impl.cache.store.CacheEntry entry) voidremoveCacheEventListenner(org.iplass.mtp.impl.cache.store.event.CacheEventListener listener) protected voidsetTtl(org.iplass.mtp.impl.cache.store.CacheEntry entry) trace()クラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitインタフェースから継承されたメソッド org.iplass.mtp.impl.cache.store.CacheStore
compute, computeIfAbsent, computeIfAbsentWithAutoReload, get, getByIndex, getListByIndex, keySet, put, putIfAbsent, remove, remove, removeAll, removeByIndex, replace, replace
-
フィールド詳細
-
pubSubConnection
-
pubSubCommands
-
retryCount
protected final int retryCount -
codec
-
pool
-
-
コンストラクタの詳細
-
RedisCacheStoreBase
public RedisCacheStoreBase(RedisCacheStoreFactory factory, String namespace, org.iplass.mtp.impl.cache.store.TimeToLiveCalculator timeToLiveCalculator, RedisCacheStorePoolConfig redisCacheStorePoolConfig)
-
-
メソッドの詳細
-
getTtlSeconds
protected long getTtlSeconds(org.iplass.mtp.impl.cache.store.CacheEntry entry) -
setTtl
protected void setTtl(org.iplass.mtp.impl.cache.store.CacheEntry entry) -
getNamespace
- 定義:
getNamespaceインタフェース内org.iplass.mtp.impl.cache.store.CacheStore
-
getFactory
public org.iplass.mtp.impl.cache.store.CacheStoreFactory getFactory()- 定義:
getFactoryインタフェース内org.iplass.mtp.impl.cache.store.CacheStore
-
getListeners
- 定義:
getListenersインタフェース内org.iplass.mtp.impl.cache.store.CacheStore
-
addCacheEventListenner
public void addCacheEventListenner(org.iplass.mtp.impl.cache.store.event.CacheEventListener listener) - 定義:
addCacheEventListennerインタフェース内org.iplass.mtp.impl.cache.store.CacheStore
-
removeCacheEventListenner
public void removeCacheEventListenner(org.iplass.mtp.impl.cache.store.event.CacheEventListener listener) - 定義:
removeCacheEventListennerインタフェース内org.iplass.mtp.impl.cache.store.CacheStore
-
getSize
public int getSize()- 定義:
getSizeインタフェース内org.iplass.mtp.impl.cache.store.CacheStore
-
trace
- 定義:
traceインタフェース内org.iplass.mtp.impl.cache.store.CacheStore
-
destroy
public void destroy()- 定義:
destroyインタフェース内org.iplass.mtp.impl.cache.store.CacheStore
-
notifyRemoved
protected void notifyRemoved(org.iplass.mtp.impl.cache.store.CacheEntry entry) -
notifyPut
protected void notifyPut(org.iplass.mtp.impl.cache.store.CacheEntry entry) -
notifyUpdated
protected void notifyUpdated(org.iplass.mtp.impl.cache.store.CacheEntry preEntry, org.iplass.mtp.impl.cache.store.CacheEntry entry) -
notifyInvalidated
protected void notifyInvalidated(org.iplass.mtp.impl.cache.store.CacheEntry entry) -
hasListener
protected boolean hasListener()
-