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