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 RemovalCauseRemovalNotification. getCause()Returns the cause for which the entry was removed.static RemovalCauseRemovalCause. 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.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 newRemovalNotificationfor the givenkey/valuepair, with the givencausefor the removal.
-