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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonRemoval(K key, V val, WindowPartitionCache.RemovalCause removalCause)The method that is invoked when an entry is removed from the cache.
-
-
-
Method Detail
-
onRemoval
void onRemoval(K key, V val, WindowPartitionCache.RemovalCause removalCause)
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
-
-