public final class RemovalListeners extends Object
| Modifier and Type | Method and Description |
|---|---|
static <K,V> RemovalListener<K,V> |
asynchronous(RemovalListener<K,V> listener,
Executor executor)
Returns a
RemovalListener which processes all eviction
notifications using executor. |
public static <K,V> RemovalListener<K,V> asynchronous(RemovalListener<K,V> listener, Executor executor)
RemovalListener which processes all eviction
notifications using executor.listener - the backing listenerexecutor - the executor with which removal notifications are
asynchronously executedCopyright © 2010-2015. All Rights Reserved.