モジュール spring.retry

クラス MapRetryContextCache

実装済みのインターフェース一覧:
RetryContextCache

public class MapRetryContextCache extends AbstractMapRetryContextCache<RetryContext>
RetryContextCache のマップベースの実装。コンテキストのキャッシュをバックアップするマップが同期されます。
作成者:
Dave Syer
  • コンストラクターの詳細

    • MapRetryContextCache

      public MapRetryContextCache()
      the default capacity でインスタンスを作成します
    • MapRetryContextCache

      public MapRetryContextCache(int capacity)
      指定された容量でインスタンスを作成し、キャッシュがいっぱいになったら最も古いエントリを削除します。
      パラメーター:
      capacity - キャッシュの初期容量
    • MapRetryContextCache

      public MapRetryContextCache(int capacity, boolean removeEldestEntries)
      指定された容量と、キャッシュが満杯になったときに適用するポリシーを持つインスタンスを作成します。
      パラメーター:
      capacity - キャッシュのサイズ
      removeEldestEntries - キャッシュがいっぱいになったときに、最も古いエントリを削除するかどうか
      導入:
      1.3.5
  • 方法の詳細