public interface ExpungeStrategy
| 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.
|
boolean triggers(CacheStatistics statistics)
<K,M extends MetaData> Collection<Map.Entry<K,M>> getToExpungeMetaData(Set<Map.Entry<K,M>> entrySet)
Copyright © 2013 dontdrinkandroot. All Rights Reserved.