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() |
toStringpublic RetryEvent(MethodInvocationContext<?,?> source, RetryState retryState, Throwable throwable)
source - The source method invocation context for intercepting method callretryState - To encapsulate current state into Retryablethrowable - The errorpublic RetryState getRetryState()
public Throwable getThrowable()
public MethodInvocationContext<?,?> getSource()
getSource in class EventObject