public class CircuitOpenEvent extends ApplicationEvent
CircuitState.OPEN
and
requests are no longer being accepted.source
Constructor and Description |
---|
CircuitOpenEvent(ExecutableMethod<?,?> source,
RetryState retryState,
Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
RetryState |
getRetryState() |
ExecutableMethod<?,?> |
getSource() |
Throwable |
getThrowable() |
toString
public CircuitOpenEvent(ExecutableMethod<?,?> source, RetryState retryState, Throwable throwable)
source
- A compile time produced invocation of a method callretryState
- Encapsulate the current state of Retryable
operation.throwable
- The causepublic RetryState getRetryState()
public Throwable getThrowable()
public ExecutableMethod<?,?> getSource()
getSource
in class EventObject