K
- V
- public interface CacheFlushListener<K,V>
Modifier and Type | Method and Description |
---|---|
void |
apply(K key,
V newValue,
V oldValue)
Called when records are flushed from the
ThreadCache |
void apply(K key, V newValue, V oldValue)
ThreadCache
key
- key of the entrynewValue
- current valueoldValue
- previous value