Uses of Class
com.github.benmanes.caffeine.cache.RemovalCause
-
Packages that use RemovalCause Package Description com.github.benmanes.caffeine.cache This package contains caching utilities. -
-
Uses of RemovalCause in com.github.benmanes.caffeine.cache
Methods in com.github.benmanes.caffeine.cache that return RemovalCause Modifier and Type Method Description static RemovalCause
RemovalCause. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RemovalCause[]
RemovalCause. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.github.benmanes.caffeine.cache with parameters of type RemovalCause Modifier and Type Method Description void
CacheWriter. delete(K key, V value, RemovalCause cause)
Deletes the value corresponding to thekey
from the external resource.void
DisabledWriter. delete(java.lang.Object key, java.lang.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, java.util.concurrent.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.
-