Uses of Class
com.ngrok.definitions.EndpointCircuitBreaker.Builder
-
Uses of EndpointCircuitBreaker.Builder in com.ngrok.definitions
Modifier and TypeMethodDescriptionEndpointCircuitBreaker.Builder.enabled
(boolean enabled) true
if the module will be applied to traffic,false
to disable.true
if the module will be applied to traffic,false
to disable.EndpointCircuitBreaker.Builder.errorThresholdPercentage
(double errorThresholdPercentage) Error threshold percentage should be between 0 - 1.0, not 0-100.0EndpointCircuitBreaker.Builder.errorThresholdPercentage
(Optional<Double> errorThresholdPercentage) Error threshold percentage should be between 0 - 1.0, not 0-100.0EndpointCircuitBreaker.newBuilder()
Creates a new builder for theEndpointCircuitBreaker
type.EndpointCircuitBreaker.Builder.numBuckets
(long numBuckets) Integer number of buckets into which metrics are retained.EndpointCircuitBreaker.Builder.numBuckets
(Optional<Long> numBuckets) Integer number of buckets into which metrics are retained.EndpointCircuitBreaker.Builder.rollingWindow
(long rollingWindow) Integer number of seconds in the statistical rolling window that metrics are retained for.EndpointCircuitBreaker.Builder.rollingWindow
(Optional<Long> rollingWindow) Integer number of seconds in the statistical rolling window that metrics are retained for.EndpointCircuitBreaker.Builder.trippedDuration
(Duration trippedDuration) Integer number of seconds after which the circuit is tripped to wait before re-evaluating upstream healthEndpointCircuitBreaker.Builder.trippedDuration
(Optional<Duration> trippedDuration) Integer number of seconds after which the circuit is tripped to wait before re-evaluating upstream healthEndpointCircuitBreaker.Builder.volumeThreshold
(long volumeThreshold) Integer number of requests in a rolling window that will trip the circuit.EndpointCircuitBreaker.Builder.volumeThreshold
(Optional<Long> volumeThreshold) Integer number of requests in a rolling window that will trip the circuit.