Uses of Class
com.couchbase.client.core.env.TimerConfig.Builder
-
Uses of TimerConfig.Builder in com.couchbase.client.core.env
Modifier and TypeMethodDescriptionstatic TimerConfig.Builder
TimerConfig.builder()
Deprecated.TimerConfig.Builder.numBuckets
(int numBuckets) Internally, each Timer divides time into a number of buckets, which this setting controls.TimerConfig.Builder.numTimers
(int numTimers) Configures multiple parallel Timers, allowing more throughput of retries and timeouts.TimerConfig.Builder.tickDuration
(Duration tickDuration) Configures the time between each 'tick' of the Timer(s).IoConfig.Builder.timerConfig()
Modifier and TypeMethodDescriptionIoConfig.Builder.timerConfig
(Consumer<TimerConfig.Builder> builderConsumer) Configures the timer by passing its config builder to the given consumer.
IoConfig.Builder.timerConfig(Consumer)
and configure the builder passed to the consumer.