K - the key object type.V - the value object typejava.io.SerializablePassiveExpiringMap.ConstantTimeToLiveExpirationPolicypublic static interface PassiveExpiringMap.ExpirationPolicy<K,V>
extends java.io.Serializable
| Modifier and Type | Method | 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-2019 - Apache Software Foundation