K
- the key typeV
- the value typepublic static interface CachingTier.InvalidationListener<K,V>
Used to notify the AuthoritativeTier
when a mapping is removed so that it can be flushed.
Modifier and Type | Method and Description |
---|---|
void |
onInvalidation(K key,
Store.ValueHolder<V> valueHolder)
Notification that a mapping was evicted or has expired.
|
void onInvalidation(K key, Store.ValueHolder<V> valueHolder)
key
- the mapping's keyvalueHolder
- the invalidated mapping's value holder