| Package | Description |
|---|---|
| com.couchbase.client.core.env |
| Modifier and Type | Method and Description |
|---|---|
static TimerConfig.Builder |
TimerConfig.builder()
Deprecated.
Instead of creating a new builder, please use
IoConfig.Builder.timerConfig(Consumer)
and configure the builder passed to the consumer. |
TimerConfig.Builder |
TimerConfig.Builder.numBuckets(int numBuckets)
Internally, each Timer divides time into a number of buckets, which this setting controls.
|
TimerConfig.Builder |
TimerConfig.Builder.numTimers(int numTimers)
Configures multiple parallel Timers, allowing more throughput of retries and timeouts.
|
TimerConfig.Builder |
TimerConfig.Builder.tickDuration(Duration tickDuration)
Configures the time between each 'tick' of the Timer(s).
|
TimerConfig.Builder |
IoConfig.Builder.timerConfig() |
| Modifier and Type | Method and Description |
|---|---|
IoConfig.Builder |
IoConfig.Builder.timerConfig(Consumer<TimerConfig.Builder> builderConsumer)
Configures the timer by passing its config builder to the given consumer.
|
Copyright © 2024 Couchbase, Inc.. All rights reserved.