- getClosingInterval
Returns the interval (in nanoseconds) for checking for the closing threshold.
- getClosingThreshold
Returns the threshold value for closing the circuit breaker. If the number of
events received in the
- getOpeningInterval
Returns the interval (in nanoseconds) for checking for the opening threshold.
- isOpen
- now
Returns the current time in nanoseconds. This method is used to obtain the
current time. This is nee
- changeState
- changeStateAndStartNewCheckInterval
Changes the state of this circuit breaker and also initializes a new
CheckIntervalData object.
- getOpeningThreshold
Returns the threshold value for opening the circuit breaker. If this number of
events is received in
- incrementAndCheckState
- nextCheckIntervalData
Calculates the next CheckIntervalData object based on the current data and the
current state. The ne
- performStateCheck
Actually checks the state of this circuit breaker and executes a state
transition if necessary.
- stateStrategy
Returns the StateStrategy object responsible for the given state.