public class CircuitOpenEvent extends ApplicationEvent
CircuitState.OPEN
and
requests are no longer being accepted.Constructor and Description |
---|
CircuitOpenEvent(ExecutableMethod<?,?> source,
RetryState retryState,
java.lang.Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
RetryState |
getRetryState() |
ExecutableMethod<?,?> |
getSource() |
java.lang.Throwable |
getThrowable() |
public CircuitOpenEvent(ExecutableMethod<?,?> source, RetryState retryState, java.lang.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 java.lang.Throwable getThrowable()
public ExecutableMethod<?,?> getSource()
getSource
in class java.util.EventObject