Package org.opensearch.core.common.breaker
package org.opensearch.core.common.breaker
Foundation classes for the Circuit Breaker
-
ClassDescriptionInterface for an object that can be incremented, breaking after some configured limit has been reached.The breaker durability can be
CircuitBreaker.Durability.TRANSIENTorCircuitBreaker.Durability.PERMANENTThe type of breaker can beCircuitBreaker.Type.MEMORY,CircuitBreaker.Type.PARENT, orCircuitBreaker.Type.NOOPException thrown when the circuit breaker tripsACircuitBreakerthat doesn't increment or adjust, and all operations are basically noops.