Uses of Interface
com.github.benmanes.caffeine.cache.RemovalListener
Packages that use RemovalListener
Package
Description
This package contains caching utilities.
-
Uses of RemovalListener in com.github.benmanes.caffeine.cache
Classes in com.github.benmanes.caffeine.cache that implement RemovalListenerModifier and TypeClassDescription(package private) static final classA removal listener that asynchronously forwards the value stored in aCompletableFutureif successful to the user-supplied removal listener.Fields in com.github.benmanes.caffeine.cache declared as RemovalListenerModifier and TypeFieldDescription(package private) final RemovalListener<K, V> Async.AsyncRemovalListener.delegate(package private) final 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) final RemovalListener<K, V> SIL.removalListener(package private) final RemovalListener<K, V> SSL.removalListener(package private) final @Nullable RemovalListener<K, V> UnboundedLocalCache.removalListener(package private) final RemovalListener<K, V> WIL.removalListener(package private) final RemovalListener<K, V> WSL.removalListenerMethods in com.github.benmanes.caffeine.cache that return RemovalListenerModifier and TypeMethodDescription(package private) <K1 extends K, V1 extends V>
@Nullable RemovalListener<K1, V1> Caffeine.getRemovalListener(boolean async) BoundedLocalCache.removalListener()LocalCache.removalListener()Returns theRemovalListenerused by this cache.final RemovalListener<K, V> SIL.removalListener()final RemovalListener<K, V> SSL.removalListener()UnboundedLocalCache.removalListener()final RemovalListener<K, V> WIL.removalListener()final RemovalListener<K, V> WSL.removalListener()Methods in com.github.benmanes.caffeine.cache with parameters of type RemovalListenerModifier and TypeMethodDescriptionCaffeine.evictionListener(@NonNull RemovalListener<? super K1, ? super V1> evictionListener) Specifies a listener instance that caches should notify each time an entry is evicted.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 RemovalListenerModifierConstructorDescription(package private)AsyncRemovalListener(RemovalListener<K, V> delegate, Executor executor) (package private)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 RemovalListenerModifier and TypeClassDescriptionfinal classA listener that provides an adapter to publish events in the order of the actions being performed on a key.