クラス 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 org.apache.commons.pool2.impl.GenericObjectPool<io.lettuce.core.api.StatefulRedisConnection<Object,Object>>
     
    protected io.lettuce.core.pubsub.api.sync.RedisPubSubCommands<String,String>
     
    protected final io.lettuce.core.pubsub.StatefulRedisPubSubConnection<String,String>
     
    protected final int
     
  • コンストラクタの概要

    コンストラクタ
    コンストラクタ
    説明
    RedisCacheStoreBase(RedisCacheStoreFactory factory, String namespace, org.iplass.mtp.impl.cache.store.TimeToLiveCalculator timeToLiveCalculator, RedisCacheStorePoolConfig redisCacheStorePoolConfig)
     
  • メソッドの概要

    修飾子とタイプ
    メソッド
    説明
    void
    addCacheEventListenner(org.iplass.mtp.impl.cache.store.event.CacheEventListener listener)
     
    void
     
    org.iplass.mtp.impl.cache.store.CacheStoreFactory
     
    List<org.iplass.mtp.impl.cache.store.event.CacheEventListener>
     
     
    int
     
    protected long
    getTtlSeconds(org.iplass.mtp.impl.cache.store.CacheEntry entry)
     
    protected boolean
     
    protected void
    notifyInvalidated(org.iplass.mtp.impl.cache.store.CacheEntry entry)
     
    protected void
    notifyPut(org.iplass.mtp.impl.cache.store.CacheEntry entry)
     
    protected void
    notifyRemoved(org.iplass.mtp.impl.cache.store.CacheEntry entry)
     
    protected void
    notifyUpdated(org.iplass.mtp.impl.cache.store.CacheEntry preEntry, org.iplass.mtp.impl.cache.store.CacheEntry entry)
     
    void
    removeCacheEventListenner(org.iplass.mtp.impl.cache.store.event.CacheEventListener listener)
     
    protected void
    setTtl(org.iplass.mtp.impl.cache.store.CacheEntry entry)
     
     

    クラスから継承されたメソッド 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

      protected final io.lettuce.core.pubsub.StatefulRedisPubSubConnection<String,String> pubSubConnection
    • pubSubCommands

      protected io.lettuce.core.pubsub.api.sync.RedisPubSubCommands<String,String> pubSubCommands
    • retryCount

      protected final int retryCount
    • codec

      protected final NamespaceSerializedObjectCodec codec
    • pool

      protected final org.apache.commons.pool2.impl.GenericObjectPool<io.lettuce.core.api.StatefulRedisConnection<Object,Object>> pool
  • コンストラクタの詳細

  • メソッドの詳細

    • 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

      public String 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

      public List<org.iplass.mtp.impl.cache.store.event.CacheEventListener> 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

      public String 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()