Interface EntryWeigher<K,V>
-
public interface EntryWeigher<K,V>
A class that can determine the weight of an entry. The total weight threshold is used to determine when an eviction is required.- Author:
- [email protected] (Ben Manes)
- See Also:
- http://code.google.com/p/concurrentlinkedhashmap/
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
weightOf(K key, V value)
Measures an entry's weight to determine how many units of capacity that the key and value consumes.
-