K - the key object type.
V - the value object type
public static interface PassiveExpiringMap.ExpirationPolicy<K,V> extends Serializable
| Modifier and Type | Method and Description |
|---|---|
long |
expirationTime(K key, V value)
Determine the expiration time for the given key-value entry.
|
long expirationTime(K key, V value)
key - the key for the entry.
value - the value for the entry.