Package nablarch.core.util.map
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>
何も実行しないリスナー実装クラス。
-
Nested Class Summary
Nested classes/interfaces inherited from interface nablarch.core.util.map.LRUMap.RemoveListener
LRUMap.RemoveListener.NopListener<K,V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonRemoveEldest(K key, V value) LRUアルゴリズムにより、エントリが削除された場合に呼び出されるコールバックメソッド。
-
Constructor Details
-
NopListener
public NopListener()
-
-
Method Details
-
onRemoveEldest
LRUアルゴリズムにより、エントリが削除された場合に呼び出されるコールバックメソッド。- Specified by:
onRemoveEldestin interfaceLRUMap.RemoveListener<K,V> - Parameters:
key- 削除されたエントリーのキーvalue- 削除されたエントリーの値
-