| Package | Description |
|---|---|
| com.orbitz.consul.config |
| Modifier and Type | Method and Description |
|---|---|
static CacheConfig.Builder |
CacheConfig.builder()
Creates a new
CacheConfig.Builder object. |
CacheConfig.Builder |
CacheConfig.Builder.withBackOffDelay(Duration delay)
Sets the back-off delay used in caches.
|
CacheConfig.Builder |
CacheConfig.Builder.withMinDelayBetweenRequests(Duration delay)
Sets the minimum time between two requests for caches.
|
CacheConfig.Builder |
CacheConfig.Builder.withTimeoutAutoAdjustmentEnabled(boolean enabled)
Enable/Disable the automatic adjustment of read timeout
|
CacheConfig.Builder |
CacheConfig.Builder.withTimeoutAutoAdjustmentMargin(Duration margin)
Sets the margin of the read timeout for caches.
|
Copyright © 2018. All rights reserved.