|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.common.collect.EvictionListeners
MapMaker
is being moved to
CacheBuilder
. Functionality similar to
EvictionListeners
is provided by RemovalListeners
. This class is scheduled for
deletion from Guava in Guava release 11.0.
@Beta @Deprecated public final class EvictionListeners
A collection of common eviction listeners.
Method Summary | ||
---|---|---|
static
|
asynchronous(MapEvictionListener<K,V> listener,
Executor executor)
Deprecated. Caching functionality in MapMaker is being moved to
CacheBuilder . Functionality similar to
EvictionListeners#asynchronous is provided by
RemovalListeners.asynchronous(com.google.common.cache.RemovalListener .
This method is scheduled for deletion from Guava in Guava release 11.0. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@Deprecated public static <K,V> MapEvictionListener<K,V> asynchronous(MapEvictionListener<K,V> listener, Executor executor)
MapMaker
is being moved to
CacheBuilder
. Functionality similar to
EvictionListeners#asynchronous
is provided by
RemovalListeners.asynchronous(com.google.common.cache.RemovalListener, java.util.concurrent.Executor)
.
This method is scheduled for deletion from Guava in Guava release 11.0.
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 |