Class RetryOnIgnoredErrorEvent
java.lang.Object
io.github.resilience4j.retry.event.RetryOnIgnoredErrorEvent
- All Implemented Interfaces:
RetryEvent
A RetryEvent which informs that an error has been ignored. It will not be retried.
An error is ignored when the exception is determined to be non-retriable, as determined by the
RetryConfig.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.resilience4j.retry.event.RetryEvent
RetryEvent.Type -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RetryOnIgnoredErrorEvent
-
-
Method Details
-
getEventType
Description copied from interface:RetryEventReturns the type of the Retry event.- Returns:
- the type of the Retry event
-
toString
-
getName
Description copied from interface:RetryEventReturns the ID of the Retry.- Specified by:
getNamein interfaceRetryEvent- Returns:
- the ID of the Retry
-
getCreationTime
Description copied from interface:RetryEventReturns the creation time of Retry event.- Specified by:
getCreationTimein interfaceRetryEvent- Returns:
- the creation time of Retry event
-
getNumberOfRetryAttempts
public int getNumberOfRetryAttempts()Description copied from interface:RetryEventReturns the number of retry attempts.- Specified by:
getNumberOfRetryAttemptsin interfaceRetryEvent- Returns:
- the number of retry attempts
-
getLastThrowable
Description copied from interface:RetryEventReturns the last captured Throwable.- Specified by:
getLastThrowablein interfaceRetryEvent- Returns:
- the last captured Throwable
-