Uses of Enum Class
com.github.benmanes.caffeine.cache.RemovalCause
Packages that use RemovalCause
Package
Description
This package contains caching utilities.
This package contains caching statistic utilities.
-
Uses of RemovalCause in com.github.benmanes.caffeine.cache
Subclasses with type arguments of type RemovalCause in com.github.benmanes.caffeine.cacheMethods in com.github.benmanes.caffeine.cache that return RemovalCauseModifier and TypeMethodDescriptionstatic RemovalCauseReturns 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 TypeMethodDescriptionvoidCacheWriter.delete(@NonNull K key, @Nullable V value, @NonNull RemovalCause cause) Deprecated.Deletes the value corresponding to thekeyfrom the external resource.voidCaffeine.CacheWriterAdapter.delete(K key, @Nullable V value, RemovalCause cause) voidDisabledWriter.delete(Object key, @Nullable Object value, RemovalCause cause) (package private) booleanBoundedLocalCache.evictEntry(Node<K, V> node, RemovalCause cause, long now) Attempts to evict the entry based on the given removal cause.voidBoundedLocalCache.notifyRemoval(@Nullable K key, @Nullable V value, RemovalCause cause) voidLocalCache.notifyRemoval(@Nullable K key, @Nullable V value, RemovalCause cause) Asynchronously sends a removal notification to the listener.voidUnboundedLocalCache.notifyRemoval(@Nullable K key, @Nullable V value, RemovalCause cause) voidAsync.AsyncRemovalListener.onRemoval(@Nullable K key, @Nullable CompletableFuture<V> future, RemovalCause cause) voidRemovalListener.onRemoval(@Nullable K key, @Nullable V value, @NonNull RemovalCause cause) Notifies the listener that a removal occurred at some point in the past. -
Uses of RemovalCause in com.github.benmanes.caffeine.cache.stats
Methods in com.github.benmanes.caffeine.cache.stats with parameters of type RemovalCauseModifier and TypeMethodDescriptionvoidConcurrentStatsCounter.recordEviction(int weight, RemovalCause cause) voidGuardedStatsCounter.recordEviction(int weight, RemovalCause cause) default voidStatsCounter.recordEviction(@NonNegative int weight, RemovalCause cause) Records the eviction of an entry from the cache. -
Uses of RemovalCause in com.github.benmanes.caffeine.jcache.event
Methods in com.github.benmanes.caffeine.jcache.event with parameters of type RemovalCauseModifier and TypeMethodDescriptionvoidJCacheEvictionListener.onRemoval(K key, @Nullable Expirable<V> expirable, RemovalCause cause)