public class NoopExpungeStrategy extends Object implements ExpungeStrategy
| Constructor and Description |
|---|
NoopExpungeStrategy() |
| Modifier and Type | Method and Description |
|---|---|
<K,M extends MetaData> |
getToExpungeMetaData(Set<Map.Entry<K,M>> entrySet)
Returns a collection of entries that should be expunged according to this strategy.
|
boolean |
triggers(CacheStatistics statistics)
Checks if the strategy triggers based on the given statistics.
|
public boolean triggers(CacheStatistics statistics)
ExpungeStrategytriggers in interface ExpungeStrategypublic <K,M extends MetaData> Collection<Map.Entry<K,M>> getToExpungeMetaData(Set<Map.Entry<K,M>> entrySet)
ExpungeStrategygetToExpungeMetaData in interface ExpungeStrategyCopyright © 2012. All Rights Reserved.