public final class RemovalListeners
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <K,V> RemovalListener<K,V> |
asynchronous(RemovalListener<K,V> listener,
java.util.concurrent.Executor executor)
Returns a
RemovalListener which processes all eviction
notifications using executor. |
public static <K,V> RemovalListener<K,V> asynchronous(RemovalListener<K,V> listener, java.util.concurrent.Executor executor)
RemovalListener which processes all eviction
notifications using executor.listener - the backing listenerexecutor - the executor with which removal notifications are
asynchronously executed