Class NoOpCircuitBreaker
java.lang.Object
io.openlineage.client.circuitBreaker.ExecutorCircuitBreaker
io.openlineage.client.circuitBreaker.NoOpCircuitBreaker
- All Implemented Interfaces:
CircuitBreaker
Non-closing circuit breaker which always runs callable.
-
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
-
Method Summary
Modifier and TypeMethodDescription<T> T
Methods inherited from class io.openlineage.client.circuitBreaker.ExecutorCircuitBreaker
getCheckIntervalMillis, getTimeout, isPercentageValueValid
-
Constructor Details
-
NoOpCircuitBreaker
public NoOpCircuitBreaker()
-
-
Method Details
-
currentState
-
run
- Specified by:
run
in interfaceCircuitBreaker
- Overrides:
run
in classExecutorCircuitBreaker
- Type Parameters:
T
- callable generic type- Parameters:
callable
- The callable to be run- Returns:
- result of callable
-