Interface EntryWeigher<K,V>
- All Known Implementing Classes:
ConcurrentLinkedHashMap.BoundedEntryWeigher, Weighers.EntryWeigherView, Weighers.SingletonEntryWeigher
@ThreadSafe
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.
- See Also:
-
Method Summary
-
Method Details
-
weightOf
-