public static interface ConnectionHealthConfiguration.Builder extends CrtConnectionHealthConfiguration.Builder, CopyableBuilder<ConnectionHealthConfiguration.Builder,ConnectionHealthConfiguration>
ConnectionHealthConfiguration.
All implementations of this interface are mutable and not thread safe.
| Modifier and Type | Method and Description |
|---|---|
ConnectionHealthConfiguration |
build()
An immutable object that is created from the
properties that have been set on the builder.
|
ConnectionHealthConfiguration.Builder |
minimumThroughputInBps(Long minimumThroughputInBps)
Sets a throughput threshold for connections.
|
ConnectionHealthConfiguration.Builder |
minimumThroughputTimeout(Duration minimumThroughputTimeout)
Sets how long a connection is allowed to be unhealthy before getting shut down.
|
copyapplyMutationConnectionHealthConfiguration.Builder minimumThroughputInBps(Long minimumThroughputInBps)
CrtConnectionHealthConfiguration.BuilderminimumThroughputInBps in interface CrtConnectionHealthConfiguration.BuilderminimumThroughputInBps - minimum amount of throughput, in bytes per second, for a connection to be
considered healthy.ConnectionHealthConfiguration.Builder minimumThroughputTimeout(Duration minimumThroughputTimeout)
CrtConnectionHealthConfiguration.BuilderIt only supports seconds precision
minimumThroughputTimeout in interface CrtConnectionHealthConfiguration.BuilderminimumThroughputTimeout - How long a connection is allowed to be unhealthy
before getting shut down.ConnectionHealthConfiguration build()
SdkBuilderbuild in interface Buildablebuild in interface CrtConnectionHealthConfiguration.Builderbuild in interface SdkBuilder<ConnectionHealthConfiguration.Builder,ConnectionHealthConfiguration>Copyright © 2026. All rights reserved.