Uses of Interface
com.github.benmanes.caffeine.cache.RemovalListener
-
Packages that use RemovalListener Package Description com.github.benmanes.caffeine.cache This package contains caching utilities.com.github.benmanes.caffeine.jcache.event -
-
Uses of RemovalListener in com.github.benmanes.caffeine.cache
Classes in com.github.benmanes.caffeine.cache that implement RemovalListener Modifier and Type Class Description (package private) static class
Async.AsyncRemovalListener<K,V>
A removal listener that asynchronously forwards the value stored in aCompletableFuture
if successful to the user-supplied removal listener.Fields in com.github.benmanes.caffeine.cache declared as RemovalListener Modifier and Type Field Description (package private) RemovalListener<K,V>
Async.AsyncRemovalListener. delegate
(package private) RemovalListener<? super K,? super V>
Caffeine.CacheWriterAdapter. delegate
(package private) @Nullable RemovalListener<? super K,? super V>
Caffeine. evictionListener
(package private) @Nullable RemovalListener<? super K,? super V>
Caffeine. removalListener
(package private) @Nullable RemovalListener<?,?>
SerializationProxy. removalListener
(package private) RemovalListener<K,V>
SIL. removalListener
(package private) RemovalListener<K,V>
SSL. removalListener
(package private) @Nullable RemovalListener<K,V>
UnboundedLocalCache. removalListener
(package private) RemovalListener<K,V>
WIL. removalListener
(package private) RemovalListener<K,V>
WSL. removalListener
Methods in com.github.benmanes.caffeine.cache that return RemovalListener Modifier and Type Method Description (package private) <K1 extends K,V1 extends V>
@Nullable RemovalListener<K1,V1>Caffeine. getRemovalListener(boolean async)
RemovalListener<K,V>
BoundedLocalCache. removalListener()
RemovalListener<K,V>
LocalCache. removalListener()
Returns theRemovalListener
used by this cache.RemovalListener<K,V>
SIL. removalListener()
RemovalListener<K,V>
SSL. removalListener()
RemovalListener<K,V>
UnboundedLocalCache. removalListener()
RemovalListener<K,V>
WIL. removalListener()
RemovalListener<K,V>
WSL. removalListener()
Methods in com.github.benmanes.caffeine.cache with parameters of type RemovalListener Modifier and Type Method Description <K1 extends K,V1 extends V>
@NonNull Caffeine<K1,V1>Caffeine. evictionListener(@NonNull RemovalListener<? super K1,? super V1> evictionListener)
Specifies a listener instance that caches should notify each time an entry is evicted.<K1 extends K,V1 extends V>
@NonNull Caffeine<K1,V1>Caffeine. removalListener(@NonNull RemovalListener<? super K1,? super V1> removalListener)
Specifies a listener instance that caches should notify each time an entry is removed for any reason.Constructors in com.github.benmanes.caffeine.cache with parameters of type RemovalListener Constructor Description AsyncRemovalListener(RemovalListener<K,V> delegate, java.util.concurrent.Executor executor)
CacheWriterAdapter(RemovalListener<? super K,? super V> delegate, boolean isAsync)
-
Uses of RemovalListener in com.github.benmanes.caffeine.jcache.event
Classes in com.github.benmanes.caffeine.jcache.event that implement RemovalListener Modifier and Type Class Description class
JCacheEvictionListener<K,V>
A listener that provides an adapter to publish events in the order of the actions being performed on a key.
-