Package com.tangosol.net.cache
Interface ConfigurableCacheMap.EvictionApprover
- Enclosing interface:
ConfigurableCacheMap
public static interface ConfigurableCacheMap.EvictionApprover
EvictionApprover is used to approve the eviction of an entry
from the underlying ConfigurableCacheMap. An approver could be
configured on a ConfigurableCacheMap to provide fine-grained control
over whether a particular entry is eligible for eviction.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ConfigurableCacheMap.EvictionApprover
Never approving EvictionApprover. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Get an eviction approval for the specified entry.
-
Field Details
-
DISAPPROVER
Never approving EvictionApprover.
-
-
Method Details
-
isEvictable
Get an eviction approval for the specified entry.- Parameters:
entry
- the entry for which the underlying ConfigurableCacheMap is seeking an eviction approval- Returns:
- true iff the specified entry is allowed to be evicted
-