Sets the rolling window used for metrics.
Sets the maximum number of failures before opening the circuit.
Configures the number of times the circuit breaker tries to redo the operation before failing.
Sets the configured number of buckets the rolling window is divided into.
The following must be true - metrics.rollingStats.timeInMilliseconds % metrics.rollingStats.numBuckets == 0 - otherwise it will throw an exception.
In other words, 10000/10 is okay, so is 10000/20 but 10000/7 is not.
Sets the rolling window used for metrics.
Sets the event bus address on which the circuit breaker publish its state change.
Configures the period in milliseconds where the circuit breaker send a notification on the event bus with its current state.
Sets the time in ms before it attempts to re-close the circuit (by going to the half-open state). If the circuit
is closed when the timeout is reached, nothing happens. -1
disables this feature.
Sets the timeout in milliseconds. If an action is not completed before this timeout, the action is considered as a failure.
Sets whether or not the fallback is executed on failure, even when the circuit is closed.
Whether circuit breaker state should be delivered only to local consumers.
Sets the rolling window used for metrics.
Sets whether or not the fallback is executed on failure, even when the circuit is closed.
Sets the maximum number of failures before opening the circuit.
Configures the number of times the circuit breaker tries to redo the operation before failing.
Sets the configured number of buckets the rolling window is divided into.
The following must be true - metrics.rollingStats.timeInMilliseconds % metrics.rollingStats.numBuckets == 0 - otherwise it will throw an exception.
In other words, 10000/10 is okay, so is 10000/20 but 10000/7 is not.
Sets the rolling window used for metrics.
Sets the event bus address on which the circuit breaker publish its state change.
Whether circuit breaker state should be delivered only to local consumers.
Configures the period in milliseconds where the circuit breaker send a notification on the event bus with its current state.
Sets the time in ms before it attempts to re-close the circuit (by going to the half-open state). If the circuit
is closed when the timeout is reached, nothing happens. -1
disables this feature.
Sets the timeout in milliseconds. If an action is not completed before this timeout, the action is considered as a failure.
Generated using TypeDoc
Circuit breaker configuration options. All time are given in milliseconds.