public class RetryEvent extends ApplicationEvent
source
Constructor and Description |
---|
RetryEvent(MethodInvocationContext<?,?> source,
RetryState retryState,
Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
RetryState |
getRetryState() |
MethodInvocationContext<?,?> |
getSource() |
Throwable |
getThrowable() |
toString
public RetryEvent(MethodInvocationContext<?,?> source, RetryState retryState, Throwable throwable)
source
- The source method invocation context for intercepting method callretryState
- To encapsulate current state into Retryable
throwable
- The errorpublic RetryState getRetryState()
public Throwable getThrowable()
public MethodInvocationContext<?,?> getSource()
getSource
in class EventObject