Class LRUMap.RemoveListener.NopListener<K,V>

java.lang.Object
nablarch.core.util.map.LRUMap.RemoveListener.NopListener<K,V>
Type Parameters:
K - キーの型
V - 値の型
All Implemented Interfaces:
LRUMap.RemoveListener<K,V>
Enclosing interface:
LRUMap.RemoveListener<K,V>

public static class LRUMap.RemoveListener.NopListener<K,V> extends Object implements LRUMap.RemoveListener<K,V>
何も実行しないリスナー実装クラス。
  • Constructor Details

    • NopListener

      public NopListener()
  • Method Details

    • onRemoveEldest

      public void onRemoveEldest(K key, V value)
      LRUアルゴリズムにより、エントリが削除された場合に呼び出されるコールバックメソッド。
      Specified by:
      onRemoveEldest in interface LRUMap.RemoveListener<K,V>
      Parameters:
      key - 削除されたエントリーのキー
      value - 削除されたエントリーの値