Uses of Enum
com.google.common.cache.RemovalCause
-
Uses of RemovalCause in com.google.common.cache
Modifier and TypeMethodDescriptionRemovalNotification.getCause()
Returns the cause for which the entry was removed.static RemovalCause
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.Modifier and TypeMethodDescriptionstatic <K,
V> RemovalNotification <K, V> RemovalNotification.create
(@Nullable K key, @Nullable V value, RemovalCause cause) Creates a newRemovalNotification
for the givenkey
/value
pair, with the givencause
for the removal.