Class RetryOnRetryEvent
java.lang.Object
io.github.resilience4j.retry.event.AbstractRetryEvent
io.github.resilience4j.retry.event.RetryOnRetryEvent
- All Implemented Interfaces:
RetryEvent
A RetryEvent which informs that a call failed, and is to be retried.
-
Nested Class Summary
Nested classes/interfaces inherited from interface RetryEvent
RetryEvent.Type -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRetryOnRetryEvent(String name, int numberOfAttempts, Throwable lastThrowable, long waitInterval) -
Method Summary
Modifier and TypeMethodDescriptionReturns the type of the Retry event.Returns the interval used to wait before next retry.toString()Methods inherited from class AbstractRetryEvent
getCreationTime, getLastThrowable, getName, getNumberOfRetryAttempts
-
Field Details
-
waitInterval
-
-
Constructor Details
-
RetryOnRetryEvent
-
-
Method Details
-
getEventType
Description copied from interface:RetryEventReturns the type of the Retry event.- Returns:
- the type of the Retry event
-
getWaitInterval
Returns the interval used to wait before next retry.- Returns:
- the wait interval
-
toString
-