|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.common.cache.RemovalListeners
@Beta public final class RemovalListeners
A collection of common removal listeners.
Method Summary | ||
---|---|---|
static
|
asynchronous(RemovalListener<K,V> listener,
java.util.concurrent.Executor executor)
Returns a RemovalListener which processes all eviction
notifications using executor . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |