public static interface WindowPartitionCache.RemovalListener<K,V>
A callback interface for handling removal of events from the cache.
Modifier and Type | Method and Description |
---|---|
void |
onRemoval(K key,
V val,
WindowPartitionCache.RemovalCause removalCause)
The method that is invoked when an entry is removed from the cache.
|
void onRemoval(K key, V val, WindowPartitionCache.RemovalCause removalCause)
The method that is invoked when an entry is removed from the cache.
key
- the key of the entry that was removedval
- the value of the entry that was removedremovalCause
- the WindowPartitionCache.RemovalCause
Copyright © 2020 The Apache Software Foundation. All rights reserved.