public class CacheConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CacheConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CacheConfig.Builder |
builder()
Creates a new
CacheConfig.Builder object. |
Duration |
getBackOffDelay()
Gets the back-off delay used in caches.
|
Duration |
getMinimumDurationBetweenRequests()
Gets the minimum time between two requests for caches.
|
Duration |
getTimeoutAutoAdjustmentMargin()
Gets the margin of the read timeout for caches.
|
Duration |
getWatchDuration()
Gets the default watch duration for caches.
|
boolean |
isTimeoutAutoAdjustmentEnabled()
Is the automatic adjustment of read timeout enabled?
|
public Duration getWatchDuration()
public Duration getBackOffDelay()
public boolean isTimeoutAutoAdjustmentEnabled()
public Duration getTimeoutAutoAdjustmentMargin()
public Duration getMinimumDurationBetweenRequests()
public static CacheConfig.Builder builder()
CacheConfig.Builder object.Copyright © 2018. All rights reserved.