|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.common.cache.RemovalListeners
@Beta public final class RemovalListeners
A collection of common removal listeners.
Method Summary | ||
---|---|---|
static
|
asynchronous(RemovalListener<K,V> listener,
Executor executor)
Returns an asynchronous RemovalListener which processes all
eviction notifications asynchronously, 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, Executor executor)
RemovalListener
which processes all
eviction notifications asynchronously, 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 |