K
- Key type of the cache entriesV
- Value type of the cache entries@Deprecated
public static final class Expirations.ExpiryBuilder<K,V>
extends java.lang.Object
Expiry
.Modifier and Type | Method and Description |
---|---|
Expiry<K,V> |
build()
Deprecated.
|
Expirations.ExpiryBuilder<K,V> |
setAccess(Duration access)
Deprecated.
Set TTL since last access
|
Expirations.ExpiryBuilder<K,V> |
setCreate(Duration create)
Deprecated.
Set TTL since creation
|
Expirations.ExpiryBuilder<K,V> |
setUpdate(Duration update)
Deprecated.
Set TTL since last update
|
public Expirations.ExpiryBuilder<K,V> setCreate(Duration create)
create
- TTL since creationpublic Expirations.ExpiryBuilder<K,V> setAccess(Duration access)
access
- TTL since last accesspublic Expirations.ExpiryBuilder<K,V> setUpdate(Duration update)
update
- TTL since last update