Interface CacheFlushListener<K,V>
-
- Type Parameters:
K
-V
-
public interface CacheFlushListener<K,V>
Listen to cache flush events
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
apply(K key, V newValue, V oldValue)
Called when records are flushed from theThreadCache
-
-
-
Method Detail
-
apply
void apply(K key, V newValue, V oldValue)
Called when records are flushed from theThreadCache
- Parameters:
key
- key of the entrynewValue
- current valueoldValue
- previous value
-
-