Uses of Class
com.google.common.cache.RemovalCause
-
Packages that use RemovalCause Package Description com.google.common.cache Discouraged (in favor of Caffeine) caching utilities. -
-
Uses of RemovalCause in com.google.common.cache
Methods in com.google.common.cache that return RemovalCause Modifier and Type Method Description RemovalCause
RemovalNotification. getCause()
Returns the cause for which the entry was removed.static RemovalCause
RemovalCause. valueOf(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.google.common.cache with parameters of type RemovalCause Modifier and Type Method Description static <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.
-