com.twelvemonkeys.util
Interface ExpiringMap<K,V>
- All Superinterfaces:
- Map<K,V>
- All Known Implementing Classes:
- LRUHashMap, LRUMap, TimeoutMap
public interface ExpiringMap<K,V>
- extends Map<K,V>
Call-back inteface for Map implementations that have mappings that
may expire.
- Version:
- $Id: //depot/branches/personal/haraldk/twelvemonkeys/release-2/twelvemonkeys-core/src/main/java/com/twelvemonkeys/util/ExpiringMap.java#1 $
- Author:
- Harald Kuhr
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
|
Method Summary |
void |
processRemoved(Map.Entry<K,V> pRemoved)
May be used by clients as a call-back to notify when mappings expire from
the map. |
| Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
processRemoved
void processRemoved(Map.Entry<K,V> pRemoved)
- May be used by clients as a call-back to notify when mappings expire from
the map.
- Parameters:
pRemoved - the removed mapping
Copyright © 2015. All Rights Reserved.