Uses of Interface
com.google.common.cache.RemovalListener
-
Packages that use RemovalListener Package Description com.google.common.cache This package contains caching utilities. -
-
Uses of RemovalListener in com.google.common.cache
Methods in com.google.common.cache that return RemovalListener Modifier and Type Method Description static <K,V>
RemovalListener<K,V>RemovalListeners. asynchronous(RemovalListener<K,V> listener, Executor executor)
Returns aRemovalListener
which processes all eviction notifications usingexecutor
.Methods in com.google.common.cache with parameters of type RemovalListener Modifier and Type Method Description static <K,V>
RemovalListener<K,V>RemovalListeners. asynchronous(RemovalListener<K,V> listener, Executor executor)
Returns aRemovalListener
which processes all eviction notifications usingexecutor
.<K1 extends K,V1 extends V>
CacheBuilder<K1,V1>CacheBuilder. removalListener(RemovalListener<? super K1,? super V1> listener)
Specifies a listener instance that caches should notify each time an entry is removed for any reason.
-