Uses of Enum Class
com.google.common.cache.RemovalCause
Packages that use RemovalCause
-
Uses of RemovalCause in com.google.common.cache
Fields in com.google.common.cache declared as RemovalCauseMethods in com.google.common.cache that return RemovalCauseModifier and TypeMethodDescriptionRemovalNotification.getCause()
Returns the cause for which the entry was removed.static 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.google.common.cache with parameters of type RemovalCauseModifier and TypeMethodDescriptionstatic <K,
V> RemovalNotification <K, V> RemovalNotification.create
(K key, V value, RemovalCause cause) Creates a newRemovalNotification
for the givenkey
/value
pair, with the givencause
for the removal.(package private) void
LocalCache.Segment.enqueueNotification
(K key, int hash, V value, int weight, RemovalCause cause) (package private) boolean
LocalCache.Segment.removeEntry
(ReferenceEntry<K, V> entry, int hash, RemovalCause cause) (package private) ReferenceEntry
<K, V> LocalCache.Segment.removeValueFromChain
(ReferenceEntry<K, V> first, ReferenceEntry<K, V> entry, K key, int hash, V value, LocalCache.ValueReference<K, V> valueReference, RemovalCause cause) Constructors in com.google.common.cache with parameters of type RemovalCause