Package | Description |
---|---|
com.github.benmanes.caffeine.cache |
This package contains caching utilities.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
CacheWriter.delete(K key,
V value,
RemovalCause cause)
Deletes the value corresponding to the
key from the external resource. |
void |
RemovalListener.onRemoval(K key,
V value,
RemovalCause cause)
Notifies the listener that a removal occurred at some point in the past.
|
Copyright © 2019. All rights reserved.