Package com.scaleout.client.caching
Interface CacheEntryExpirationHandler<K,V>
- Type Parameters:
K
- the key type.V
- the value type.
public interface CacheEntryExpirationHandler<K,V>
Callback that is invoked when an object expires in the ScaleOut service.
-
Method Summary
Modifier and TypeMethodDescriptionhandleExpirationEvent
(Cache<K, V> cache, K key) Callback that is invoked when an object expires in the ScaleOut service.
-
Method Details
-
handleExpirationEvent
Callback that is invoked when an object expires in the ScaleOut service.- Parameters:
cache
- the cachekey
- the key that expired- Returns:
CacheEntryDisposition.Remove
,CacheEntryDisposition.Save
, orCacheEntryDisposition.NotHandled
-