public abstract class RedisCacheStoreBase
extends java.lang.Object
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected NamespaceSerializedObjectCodec |
codec |
protected <any> |
pool |
protected <any> |
pubSubCommands |
protected <any> |
pubSubConnection |
protected int |
retryCount |
| コンストラクタと説明 |
|---|
RedisCacheStoreBase(RedisCacheStoreFactory factory,
java.lang.String namespace,
TimeToLiveCalculator timeToLiveCalculator,
RedisCacheStorePoolConfig redisCacheStorePoolConfig) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
addCacheEventListenner(CacheEventListener listener) |
void |
destroy() |
CacheStoreFactory |
getFactory() |
java.util.List<CacheEventListener> |
getListeners() |
java.lang.String |
getNamespace() |
int |
getSize() |
protected long |
getTtlSeconds(CacheEntry entry) |
protected boolean |
hasListener() |
protected void |
notifyInvalidated(CacheEntry entry) |
protected void |
notifyPut(CacheEntry entry) |
protected void |
notifyRemoved(CacheEntry entry) |
protected void |
notifyUpdated(CacheEntry preEntry,
CacheEntry entry) |
void |
removeCacheEventListenner(CacheEventListener listener) |
protected void |
setTtl(CacheEntry entry) |
java.lang.String |
trace() |
protected final <any> pubSubConnection
protected <any> pubSubCommands
protected final int retryCount
protected final NamespaceSerializedObjectCodec codec
protected final <any> pool
public RedisCacheStoreBase(RedisCacheStoreFactory factory, java.lang.String namespace, TimeToLiveCalculator timeToLiveCalculator, RedisCacheStorePoolConfig redisCacheStorePoolConfig)
protected long getTtlSeconds(CacheEntry entry)
protected void setTtl(CacheEntry entry)
public java.lang.String getNamespace()
public CacheStoreFactory getFactory()
public java.util.List<CacheEventListener> getListeners()
public void addCacheEventListenner(CacheEventListener listener)
public void removeCacheEventListenner(CacheEventListener listener)
public int getSize()
public java.lang.String trace()
public void destroy()
protected void notifyRemoved(CacheEntry entry)
protected void notifyPut(CacheEntry entry)
protected void notifyUpdated(CacheEntry preEntry,
CacheEntry entry)
protected void notifyInvalidated(CacheEntry entry)
protected boolean hasListener()