public class RetryOnSuccessEvent
extends java.lang.Object
RetryEvent.Type| Constructor and Description |
|---|
RetryOnSuccessEvent(java.lang.String name,
int currentNumOfAttempts,
java.lang.Throwable lastThrowable) |
| Modifier and Type | Method and Description |
|---|---|
java.time.ZonedDateTime |
getCreationTime()
Returns the creation time of Retry event.
|
RetryEvent.Type |
getEventType()
Returns the type of the Retry event.
|
java.lang.Throwable |
getLastThrowable()
Returns the last captured Throwable.
|
java.lang.String |
getName()
Returns the ID of the Retry.
|
int |
getNumberOfRetryAttempts()
Returns the number of retry attempts.
|
java.lang.String |
toString() |
public RetryOnSuccessEvent(java.lang.String name,
int currentNumOfAttempts,
java.lang.Throwable lastThrowable)
public RetryEvent.Type getEventType()
RetryEventpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getName()
RetryEventgetName in interface RetryEventpublic java.time.ZonedDateTime getCreationTime()
RetryEventgetCreationTime in interface RetryEventpublic int getNumberOfRetryAttempts()
RetryEventgetNumberOfRetryAttempts in interface RetryEventpublic java.lang.Throwable getLastThrowable()
RetryEventgetLastThrowable in interface RetryEvent