Class StaticCircuitBreaker
- java.lang.Object
-
- io.openlineage.client.circuitBreaker.ExecutorCircuitBreaker
-
- io.openlineage.client.circuitBreaker.StaticCircuitBreaker
-
- All Implemented Interfaces:
CircuitBreaker
public class StaticCircuitBreaker extends ExecutorCircuitBreaker
Static circuit breaker used mainly for the integration tests. Its config contains a sequence of boolean values determining behaviour of isClosed method in a sequence of the calls.
-
-
Field Summary
-
Fields inherited from class io.openlineage.client.circuitBreaker.ExecutorCircuitBreaker
timeout
-
Fields inherited from interface io.openlineage.client.circuitBreaker.CircuitBreaker
CIRCUIT_CHECK_INTERVAL_IN_MILLIS
-
-
Constructor Summary
Constructors Constructor Description StaticCircuitBreaker(@NonNull StaticCircuitBreakerConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CircuitBreakerState
currentState()
-
Methods inherited from class io.openlineage.client.circuitBreaker.ExecutorCircuitBreaker
getCheckIntervalMillis, getTimeout, isPercentageValueValid, run
-
-
-
-
Constructor Detail
-
StaticCircuitBreaker
public StaticCircuitBreaker(@NonNull @NonNull StaticCircuitBreakerConfig config)
-
-
Method Detail
-
currentState
public CircuitBreakerState currentState()
-
-