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