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
  • Method Details

    • 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