Uses of Class
com.couchbase.client.core.endpoint.CircuitBreakerConfig.Builder
Packages that use CircuitBreakerConfig.Builder
-
Uses of CircuitBreakerConfig.Builder in com.couchbase.client.core.endpoint
Methods in com.couchbase.client.core.endpoint that return CircuitBreakerConfig.BuilderModifier and TypeMethodDescriptionstatic CircuitBreakerConfig.Builder
CircuitBreakerConfig.builder()
Creates a new builder to customize the configuration properties.CircuitBreakerConfig.Builder.completionCallback
(CircuitBreaker.CompletionCallback completionCallback) Allows customizing of the completion callback which defines what is considered a failure and what success.static CircuitBreakerConfig.Builder
CircuitBreakerConfig.completionCallback
(CircuitBreaker.CompletionCallback completionCallback) CircuitBreakerConfig.Builder.enabled
(boolean enabled) Enables or disables this circuit breaker.static CircuitBreakerConfig.Builder
CircuitBreakerConfig.enabled
(boolean enabled) CircuitBreakerConfig.Builder.errorThresholdPercentage
(int errorThresholdPercentage) The percentage of operations that need to fail in a window until the circuit is opened.static CircuitBreakerConfig.Builder
CircuitBreakerConfig.errorThresholdPercentage
(int errorThresholdPercentage) CircuitBreakerConfig.Builder.rollingWindow
(Duration rollingWindow) How long the window is in which the number of failed ops are tracked in a rolling fashion.static CircuitBreakerConfig.Builder
CircuitBreakerConfig.rollingWindow
(Duration rollingWindow) CircuitBreakerConfig.Builder.sleepWindow
(Duration sleepWindow) The sleep window that is waited from when the circuit opens to when the canary is tried.static CircuitBreakerConfig.Builder
CircuitBreakerConfig.sleepWindow
(Duration sleepWindow) CircuitBreakerConfig.Builder.volumeThreshold
(int volumeThreshold) The volume threshold defines how many operations need to be in the window at least so that the threshold percentage can be meaningfully calculated.static CircuitBreakerConfig.Builder
CircuitBreakerConfig.volumeThreshold
(int volumeThreshold) -
Uses of CircuitBreakerConfig.Builder in com.couchbase.client.core.env
Methods in com.couchbase.client.core.env that return CircuitBreakerConfig.BuilderModifier and TypeMethodDescriptionIoConfig.Builder.analyticsCircuitBreakerConfig()
IoConfig.Builder.backupCircuitBreakerConfig()
IoConfig.Builder.eventingCircuitBreakerConfig()
IoConfig.Builder.kvCircuitBreakerConfig()
IoConfig.Builder.managerCircuitBreakerConfig()
IoConfig.Builder.queryCircuitBreakerConfig()
IoConfig.Builder.searchCircuitBreakerConfig()
IoConfig.Builder.viewCircuitBreakerConfig()
Methods in com.couchbase.client.core.env with parameters of type CircuitBreakerConfig.BuilderModifier and TypeMethodDescriptionstatic IoConfig.Builder
IoConfig.analyticsCircuitBreakerConfig
(CircuitBreakerConfig.Builder analyticsCircuitBreakerConfig) Deprecated.This method creates a new builder.IoConfig.Builder.analyticsCircuitBreakerConfig
(CircuitBreakerConfig.Builder analyticsCircuitBreakerConfig) Deprecated.Please useIoConfig.Builder.analyticsCircuitBreakerConfig(Consumer)
instead.static IoConfig.Builder
IoConfig.backupCircuitBreakerConfig
(CircuitBreakerConfig.Builder backupCircuitBreakerConfig) Deprecated.This method creates a new builder.IoConfig.Builder.backupCircuitBreakerConfig
(CircuitBreakerConfig.Builder backupCircuitBreakerConfig) Deprecated.Please useIoConfig.Builder.backupCircuitBreakerConfig(Consumer)
instead.IoConfig.Builder.eventingCircuitBreakerConfig
(CircuitBreakerConfig.Builder eventingCircuitBreakerConfig) Deprecated.Please useIoConfig.Builder.eventingCircuitBreakerConfig(Consumer)
instead.static IoConfig.Builder
IoConfig.eventingCircuitBreakerConfig
(CircuitBreakerConfig.Builder eventingCircuitBreakerConfig) Deprecated.This method creates a new builder.IoConfig.Builder.kvCircuitBreakerConfig
(CircuitBreakerConfig.Builder kvCircuitBreakerConfig) Deprecated.Please useIoConfig.Builder.kvCircuitBreakerConfig(Consumer)
instead.static IoConfig.Builder
IoConfig.kvCircuitBreakerConfig
(CircuitBreakerConfig.Builder kvCircuitBreakerConfig) Deprecated.This method creates a new builder.IoConfig.Builder.managerCircuitBreakerConfig
(CircuitBreakerConfig.Builder managerCircuitBreakerConfig) Deprecated.Please useIoConfig.Builder.managerCircuitBreakerConfig(Consumer)
instead.static IoConfig.Builder
IoConfig.managerCircuitBreakerConfig
(CircuitBreakerConfig.Builder managerCircuitBreakerConfig) Deprecated.This method creates a new builder.IoConfig.Builder.queryCircuitBreakerConfig
(CircuitBreakerConfig.Builder queryCircuitBreakerConfig) Deprecated.Please useIoConfig.Builder.queryCircuitBreakerConfig(Consumer)
instead.static IoConfig.Builder
IoConfig.queryCircuitBreakerConfig
(CircuitBreakerConfig.Builder queryCircuitBreakerConfig) Deprecated.This method creates a new builder.IoConfig.Builder.searchCircuitBreakerConfig
(CircuitBreakerConfig.Builder searchCircuitBreakerConfig) Deprecated.Please useIoConfig.Builder.searchCircuitBreakerConfig(Consumer)
instead.static IoConfig.Builder
IoConfig.searchCircuitBreakerConfig
(CircuitBreakerConfig.Builder searchCircuitBreakerConfig) Deprecated.This method creates a new builder.IoConfig.Builder.viewCircuitBreakerConfig
(CircuitBreakerConfig.Builder viewCircuitBreakerConfig) Deprecated.Please useIoConfig.Builder.viewCircuitBreakerConfig(Consumer)
instead.static IoConfig.Builder
IoConfig.viewCircuitBreakerConfig
(CircuitBreakerConfig.Builder viewCircuitBreakerConfig) Deprecated.This method creates a new builder.Method parameters in com.couchbase.client.core.env with type arguments of type CircuitBreakerConfig.BuilderModifier and TypeMethodDescriptionIoConfig.Builder.analyticsCircuitBreakerConfig
(Consumer<CircuitBreakerConfig.Builder> builderConsumer) Configures the analytics circuit breaker by passing its config builder to the given consumer.IoConfig.Builder.backupCircuitBreakerConfig
(Consumer<CircuitBreakerConfig.Builder> builderConsumer) Configures the backup circuit breaker by passing its config builder to the given consumer.IoConfig.Builder.eventingCircuitBreakerConfig
(Consumer<CircuitBreakerConfig.Builder> builderConsumer) Configures the eventing circuit breaker by passing its config builder to the given consumer.IoConfig.Builder.kvCircuitBreakerConfig
(Consumer<CircuitBreakerConfig.Builder> builderConsumer) Configures the key-value circuit breaker by passing its config builder to the given consumer.IoConfig.Builder.managerCircuitBreakerConfig
(Consumer<CircuitBreakerConfig.Builder> builderConsumer) Configures the manager circuit breaker by passing its config builder to the given consumer.IoConfig.Builder.queryCircuitBreakerConfig
(Consumer<CircuitBreakerConfig.Builder> builderConsumer) Configures the query circuit breaker by passing its config builder to the given consumer.IoConfig.Builder.searchCircuitBreakerConfig
(Consumer<CircuitBreakerConfig.Builder> builderConsumer) Configures the search circuit breaker by passing its config builder to the given consumer.IoConfig.Builder.viewCircuitBreakerConfig
(Consumer<CircuitBreakerConfig.Builder> builderConsumer) Configures the views circuit breaker by passing its config builder to the given consumer.