Class RetryOnErrorEvent
java.lang.Object
io.github.resilience4j.retry.event.AbstractRetryEvent
io.github.resilience4j.retry.event.RetryOnErrorEvent
- All Implemented Interfaces:
RetryEvent
A RetryEvent which informs that a call has been retried, but still failed, such that the the
maximum number of attempts has been reached. It will not be retried any more.
-
Nested Class Summary
Nested classes/interfaces inherited from interface RetryEvent
RetryEvent.Type -
Constructor Summary
ConstructorsConstructorDescriptionRetryOnErrorEvent(String name, int numberOfAttempts, Throwable lastThrowable) -
Method Summary
Methods inherited from class AbstractRetryEvent
getCreationTime, getLastThrowable, getName, getNumberOfRetryAttempts
-
Constructor Details
-
RetryOnErrorEvent
-
-
Method Details
-
getEventType
Description copied from interface:RetryEventReturns the type of the Retry event.- Returns:
- the type of the Retry event
-
toString
-