| Modifier and Type | Method and Description |
|---|---|
void |
ExpiringMap.addExpirationListener(ExpirationListener<K,V> listener)
Adds an expiration listener.
|
<K1 extends K,V1 extends V> |
ExpiringMap.Builder.expirationListener(ExpirationListener<? super K1,? super V1> listener)
Sets the expiration listener which will receive notifications upon each map entry's expiration.
|
void |
ExpiringMap.removeExpirationListener(ExpirationListener<K,V> listener)
Removes an expiration listener.
|
| Modifier and Type | Method and Description |
|---|---|
<K1 extends K,V1 extends V> |
ExpiringMap.Builder.expirationListeners(List<ExpirationListener<? super K1,? super V1>> listeners)
Sets expiration listeners which will receive notifications upon each map entry's expiration.
|
Copyright © 2015. All rights reserved.