K
- the key object type.V
- the value object typepublic 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.Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.