Uses of Class
io.helidon.nima.faulttolerance.CircuitBreaker.Builder
Packages that use CircuitBreaker.Builder
-
Uses of CircuitBreaker.Builder in io.helidon.nima.faulttolerance
Methods in io.helidon.nima.faulttolerance that return CircuitBreaker.BuilderModifier and TypeMethodDescriptionCircuitBreaker.Builder.addApplyOn(Class<? extends Throwable> clazz) Add a throwable to be considered a failure.This throwable will not be considered failure.final CircuitBreaker.BuilderThese throwables will be considered failures, and all other will not.static CircuitBreaker.BuilderCircuitBreaker.builder()Builder to customize configuration of the breaker.How long to wait before transitioning from open to half-open state.CircuitBreaker.Builder.errorRatio(int ratio) How many failures out of 100 will trigger the circuit to open.CircuitBreaker.Builder.executor(ExecutorService executor) Executor service to schedule future tasks.A name assigned for debugging, error reporting or configuration purposes.final CircuitBreaker.BuilderThese throwables will not be considered failures, all other will.CircuitBreaker.Builder.successThreshold(int successThreshold) How many successful calls will close a half-open circuit.CircuitBreaker.Builder.volume(int volume) Rolling window size used to calculate ratio of failed requests.