Interface WindowPartitionCache.RemovalListener<K,V>
- Type Parameters:
K
- the key typeV
- the value type
- Enclosing interface:
- WindowPartitionCache<K,
V>
public static interface WindowPartitionCache.RemovalListener<K,V>
A callback interface for handling removal of events from the cache.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onRemoval
(K key, V val, WindowPartitionCache.RemovalCause removalCause) The method that is invoked when an entry is removed from the cache.
-
Method Details
-
onRemoval
The method that is invoked when an entry is removed from the cache.- Parameters:
key
- the key of the entry that was removedval
- the value of the entry that was removedremovalCause
- theWindowPartitionCache.RemovalCause
-