Interface EntryWeigher<K,V>
- Type Parameters:
K- 键类型V- 值类型
public interface EntryWeigher<K,V>
A class that can determine the selector of an entry. The total selector threshold is used to determine when an
eviction is required.
- Since:
- Java 17+
- Author:
- Kimi Liu
- See Also:
-
Method Summary
-
Method Details
-
weightOf
-