@Beta public final class EvictionListeners extends Object
| Modifier and Type | Method and Description |
|---|---|
static <K,V> MapEvictionListener<K,V> |
asynchronous(MapEvictionListener<K,V> listener,
Executor executor)
Returns an asynchronous
MapEvictionListener which processes all
eviction notifications asynchronously, using executor. |
public static <K,V> MapEvictionListener<K,V> asynchronous(MapEvictionListener<K,V> listener, Executor executor)
MapEvictionListener which processes all
eviction notifications asynchronously, using executor.listener - the backing listenerexecutor - the executor with which eviciton notifications are
asynchronously executed