クラス ConcurrentMapReplayCache

java.lang.ObjectSE
org.springframework.ws.soap.security.wss4j2.cache.SpringReplayCache
org.springframework.ws.soap.security.wss4j2.cache.ConcurrentMapReplayCache
実装済みのインターフェース一覧:
CloseableSE, AutoCloseableSE, org.apache.wss4j.common.cache.ReplayCache

public class ConcurrentMapReplayCache extends SpringReplayCache
SpringReplayCache は、キャッシュアクセス時に期限切れのエントリをすべて削除する内部 ConcurrentMapCache によって支えられているため、二度と読み取られないキーは期限切れになると削除されます。

この実装は、単一ホストのデプロイでのみ使用してください。複数のホストで動作するデプロイサービスは、分散キャッシュを使用する必要があります。オプションについては、SpringReplayCache を参照してください。

導入:
3.1.9
  • コンストラクターの詳細

    • ConcurrentMapReplayCache

      public ConcurrentMapReplayCache()
    • ConcurrentMapReplayCache

      public ConcurrentMapReplayCache(long defaultTtlSeconds, long maxTtlSeconds)
  • 方法の詳細

    • onCacheAccess

      protected void onCacheAccess()
      クラスからコピーされた説明: SpringReplayCache
      キャッシュにアクセスされた際に呼び出されます。エントリが保存された後、またはエントリの存在を確認する前に呼び出されます。
      オーバーライド:
      クラス SpringReplayCache の onCacheAccess