Uses of Enum Class
com.github.benmanes.caffeine.cache.RemovalCause
Packages that use RemovalCause
-
Uses of RemovalCause in com.github.benmanes.caffeine.cache
Methods in com.github.benmanes.caffeine.cache that return RemovalCauseModifier and TypeMethodDescriptionstatic RemovalCause
Returns the enum constant of this class with the specified name.static RemovalCause[]
RemovalCause.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.github.benmanes.caffeine.cache with parameters of type RemovalCauseModifier and TypeMethodDescriptionvoid
CacheWriter.delete
(K key, V value, RemovalCause cause) Deletes the value corresponding to thekey
from the external resource.void
DisabledWriter.delete
(Object key, Object value, RemovalCause cause) (package private) void
BoundedLocalCache.evictEntry
(Node<K, V> node, RemovalCause cause, long now) Attempts to evict the entry based on the given removal cause.void
BoundedLocalCache.notifyRemoval
(K key, V value, RemovalCause cause) void
LocalCache.notifyRemoval
(K key, V value, RemovalCause cause) Asynchronously sends a removal notification to the listener.void
UnboundedLocalCache.notifyRemoval
(K key, V value, RemovalCause cause) void
Async.AsyncRemovalListener.onRemoval
(K key, CompletableFuture<V> future, RemovalCause cause) void
RemovalListener.onRemoval
(K key, V value, RemovalCause cause) Notifies the listener that a removal occurred at some point in the past.