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