接口 ExpiringEntryLoader<K,V>
- 类型参数:
K- Key typeV- Value type
public interface ExpiringEntryLoader<K,V>
Loads entries on demand, with control over each value's expiry duration (i.e. variable expiration).
-
方法概要
修饰符和类型方法说明Called to load a new value for thekeyinto an expiring map.
-
方法详细资料
-
load
Called to load a new value for thekeyinto an expiring map.- 参数:
key- to load a value for- 返回:
- contains new value to load along with its expiry duration
-