Uses of Interface
com.github.benmanes.caffeine.cache.Expiry
-
Packages that use Expiry Package Description com.github.benmanes.caffeine.cache This package contains caching utilities.com.github.benmanes.caffeine.jcache com.github.benmanes.caffeine.jcache.configuration -
-
Uses of Expiry in com.github.benmanes.caffeine.cache
Classes in com.github.benmanes.caffeine.cache that implement Expiry Modifier and Type Class Description (package private) static class
Async.AsyncExpiry<K,V>
An expiry for asynchronous computations.Fields in com.github.benmanes.caffeine.cache declared as Expiry Modifier and Type Field Description (package private) Expiry<K,V>
Async.AsyncExpiry. delegate
(package private) @Nullable Expiry<? super K,? super V>
Caffeine. expiry
(package private) @Nullable Expiry<?,?>
SerializationProxy. expiry
(package private) Expiry<K,V>
SIA. expiry
(package private) Expiry<K,V>
SILA. expiry
(package private) Expiry<K,V>
SILMSA. expiry
(package private) Expiry<K,V>
SILMWA. expiry
(package private) Expiry<K,V>
SILSA. expiry
(package private) Expiry<K,V>
SILSMSA. expiry
(package private) Expiry<K,V>
SILSMWA. expiry
(package private) Expiry<K,V>
SIMSA. expiry
(package private) Expiry<K,V>
SIMWA. expiry
(package private) Expiry<K,V>
SISA. expiry
(package private) Expiry<K,V>
SISMSA. expiry
(package private) Expiry<K,V>
SISMWA. expiry
(package private) Expiry<K,V>
SSA. expiry
(package private) Expiry<K,V>
SSLA. expiry
(package private) Expiry<K,V>
SSLMSA. expiry
(package private) Expiry<K,V>
SSLMWA. expiry
(package private) Expiry<K,V>
SSLSA. expiry
(package private) Expiry<K,V>
SSLSMSA. expiry
(package private) Expiry<K,V>
SSLSMWA. expiry
(package private) Expiry<K,V>
SSMSA. expiry
(package private) Expiry<K,V>
SSMWA. expiry
(package private) Expiry<K,V>
SSSA. expiry
(package private) Expiry<K,V>
SSSMSA. expiry
(package private) Expiry<K,V>
SSSMWA. expiry
(package private) Expiry<K,V>
WIA. expiry
(package private) Expiry<K,V>
WILA. expiry
(package private) Expiry<K,V>
WILMSA. expiry
(package private) Expiry<K,V>
WILMWA. expiry
(package private) Expiry<K,V>
WILSA. expiry
(package private) Expiry<K,V>
WILSMSA. expiry
(package private) Expiry<K,V>
WILSMWA. expiry
(package private) Expiry<K,V>
WIMSA. expiry
(package private) Expiry<K,V>
WIMWA. expiry
(package private) Expiry<K,V>
WISA. expiry
(package private) Expiry<K,V>
WISMSA. expiry
(package private) Expiry<K,V>
WISMWA. expiry
(package private) Expiry<K,V>
WSA. expiry
(package private) Expiry<K,V>
WSLA. expiry
(package private) Expiry<K,V>
WSLMSA. expiry
(package private) Expiry<K,V>
WSLMWA. expiry
(package private) Expiry<K,V>
WSLSA. expiry
(package private) Expiry<K,V>
WSLSMSA. expiry
(package private) Expiry<K,V>
WSLSMWA. expiry
(package private) Expiry<K,V>
WSMSA. expiry
(package private) Expiry<K,V>
WSMWA. expiry
(package private) Expiry<K,V>
WSSA. expiry
(package private) Expiry<K,V>
WSSMSA. expiry
(package private) Expiry<K,V>
WSSMWA. expiry
Methods in com.github.benmanes.caffeine.cache that return Expiry Modifier and Type Method Description protected Expiry<K,V>
BoundedLocalCache. expiry()
protected Expiry<K,V>
SIA. expiry()
protected Expiry<K,V>
SILA. expiry()
protected Expiry<K,V>
SILMSA. expiry()
protected Expiry<K,V>
SILMWA. expiry()
protected Expiry<K,V>
SILSA. expiry()
protected Expiry<K,V>
SILSMSA. expiry()
protected Expiry<K,V>
SILSMWA. expiry()
protected Expiry<K,V>
SIMSA. expiry()
protected Expiry<K,V>
SIMWA. expiry()
protected Expiry<K,V>
SISA. expiry()
protected Expiry<K,V>
SISMSA. expiry()
protected Expiry<K,V>
SISMWA. expiry()
protected Expiry<K,V>
SSA. expiry()
protected Expiry<K,V>
SSLA. expiry()
protected Expiry<K,V>
SSLMSA. expiry()
protected Expiry<K,V>
SSLMWA. expiry()
protected Expiry<K,V>
SSLSA. expiry()
protected Expiry<K,V>
SSLSMSA. expiry()
protected Expiry<K,V>
SSLSMWA. expiry()
protected Expiry<K,V>
SSMSA. expiry()
protected Expiry<K,V>
SSMWA. expiry()
protected Expiry<K,V>
SSSA. expiry()
protected Expiry<K,V>
SSSMSA. expiry()
protected Expiry<K,V>
SSSMWA. expiry()
protected Expiry<K,V>
WIA. expiry()
protected Expiry<K,V>
WILA. expiry()
protected Expiry<K,V>
WILMSA. expiry()
protected Expiry<K,V>
WILMWA. expiry()
protected Expiry<K,V>
WILSA. expiry()
protected Expiry<K,V>
WILSMSA. expiry()
protected Expiry<K,V>
WILSMWA. expiry()
protected Expiry<K,V>
WIMSA. expiry()
protected Expiry<K,V>
WIMWA. expiry()
protected Expiry<K,V>
WISA. expiry()
protected Expiry<K,V>
WISMSA. expiry()
protected Expiry<K,V>
WISMWA. expiry()
protected Expiry<K,V>
WSA. expiry()
protected Expiry<K,V>
WSLA. expiry()
protected Expiry<K,V>
WSLMSA. expiry()
protected Expiry<K,V>
WSLMWA. expiry()
protected Expiry<K,V>
WSLSA. expiry()
protected Expiry<K,V>
WSLSMSA. expiry()
protected Expiry<K,V>
WSLSMWA. expiry()
protected Expiry<K,V>
WSMSA. expiry()
protected Expiry<K,V>
WSMWA. expiry()
protected Expiry<K,V>
WSSA. expiry()
protected Expiry<K,V>
WSSMSA. expiry()
protected Expiry<K,V>
WSSMWA. expiry()
(package private) @Nullable Expiry<K,V>
Caffeine. getExpiry(boolean isAsync)
Methods in com.github.benmanes.caffeine.cache with parameters of type Expiry Modifier and Type Method Description <K1 extends K,V1 extends V>
@NonNull Caffeine<K1,V1>Caffeine. expireAfter(@NonNull Expiry<? super K1,? super V1> expiry)
Specifies that each entry should be automatically removed from the cache once a duration has elapsed after the entry's creation, the most recent replacement of its value, or its last read.(package private) long
BoundedLocalCache. expireAfterCreate(@Nullable K key, @Nullable V value, Expiry<K,V> expiry, long now)
Returns the expiration time for the entry after being created.(package private) long
BoundedLocalCache. expireAfterRead(Node<K,V> node, @Nullable K key, @Nullable V value, Expiry<K,V> expiry, long now)
Returns the access time for the entry after a read.(package private) long
BoundedLocalCache. expireAfterUpdate(Node<K,V> node, @Nullable K key, @Nullable V value, Expiry<K,V> expiry, long now)
Returns the expiration time for the entry after being updated.(package private) @Nullable V
BoundedLocalCache. put(K key, V value, Expiry<K,V> expiry, boolean notifyWriter, boolean onlyIfAbsent)
Adds a node to the policy and the data store.(package private) void
BoundedLocalCache. tryExpireAfterRead(Node<K,V> node, @Nullable K key, @Nullable V value, Expiry<K,V> expiry, long now)
Attempts to update the access time for the entry after a read.Constructors in com.github.benmanes.caffeine.cache with parameters of type Expiry Constructor Description AsyncExpiry(Expiry<K,V> delegate)
-
Uses of Expiry in com.github.benmanes.caffeine.jcache
Classes in com.github.benmanes.caffeine.jcache that implement Expiry Modifier and Type Class Description private static class
CacheFactory.ExpirableToExpiry<K,V>
private static class
CacheFactory.ExpiryAdapter<K,V>
Fields in com.github.benmanes.caffeine.jcache declared as Expiry Modifier and Type Field Description private Expiry<K,V>
CacheFactory.ExpiryAdapter. expiry
Constructors in com.github.benmanes.caffeine.jcache with parameters of type Expiry Constructor Description ExpiryAdapter(Expiry<K,V> expiry)
-
Uses of Expiry in com.github.benmanes.caffeine.jcache.configuration
Fields in com.github.benmanes.caffeine.jcache.configuration with type parameters of type Expiry Modifier and Type Field Description private @Nullable javax.cache.configuration.Factory<Expiry<K,V>>
CaffeineConfiguration. expiryFactory
Methods in com.github.benmanes.caffeine.jcache.configuration that return types with arguments of type Expiry Modifier and Type Method Description java.util.Optional<javax.cache.configuration.Factory<Expiry<K,V>>>
CaffeineConfiguration. getExpiryFactory()
Returns theFactory
for theExpiry
to be used for the cache.Method parameters in com.github.benmanes.caffeine.jcache.configuration with type arguments of type Expiry Modifier and Type Method Description void
CaffeineConfiguration. setExpiryFactory(java.util.Optional<javax.cache.configuration.Factory<? extends Expiry<K,V>>> factory)
Set theFactory
for theExpiry
.
-