K
- the key type.V
- the value type.public interface CacheEntryExpirationHandler<K,V>
Modifier and Type | Method and Description |
---|---|
CacheEntryDisposition |
handleExpirationEvent(Cache<K,V> cache,
K key)
Callback that is invoked when an object expires in the ScaleOut service.
|
CacheEntryDisposition handleExpirationEvent(Cache<K,V> cache, K key)
cache
- the cachekey
- the key that expiredCacheEntryDisposition.Remove
, CacheEntryDisposition.Save
, or CacheEntryDisposition.NotHandled