|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExpungeStrategy
An ExpungeStrategy is called by caches to select the entries to evict.
| Method Summary | ||
|---|---|---|
|
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. |
|
| Method Detail |
|---|
boolean triggers(CacheStatistics statistics)
<K,M extends MetaData> Collection<Map.Entry<K,M>> getToExpungeMetaData(Set<Map.Entry<K,M>> entrySet)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||