public static class PrefixMappedItemCache.Config
extends java.lang.Object
PrefixMappedItemCache
when managing expiration/retention policies, etc.| Constructor and Description |
|---|
Config() |
| Modifier and Type | Method and Description |
|---|---|
long |
getMaxEntryAgeMillis()
Gets the time in milliseconds before an entry expires.
|
com.google.common.base.Ticker |
getTicker()
Gets the ticker for tracking expirations.
|
void |
setMaxEntryAgeMillis(long maxEntryAgeMillis)
Sets the time in milliseconds before an entry expires.
|
void |
setTicker(com.google.common.base.Ticker ticker)
Sets the ticker for tracking expirations.
|
public long getMaxEntryAgeMillis()
public void setMaxEntryAgeMillis(long maxEntryAgeMillis)
public com.google.common.base.Ticker getTicker()
public void setTicker(com.google.common.base.Ticker ticker)
Copyright © 2019. All rights reserved.