Interface RetryEvent

All Known Implementing Classes:
RetryOnErrorEvent, RetryOnIgnoredErrorEvent, RetryOnRetryEvent, RetryOnSuccessEvent

public interface RetryEvent
An event which is created by Retry.
  • Method Details

    • getName

      String getName()
      Returns the ID of the Retry.
      Returns:
      the ID of the Retry
    • getNumberOfRetryAttempts

      int getNumberOfRetryAttempts()
      Returns the number of retry attempts.
      Returns:
      the number of retry attempts
    • getEventType

      RetryEvent.Type getEventType()
      Returns the type of the Retry event.
      Returns:
      the type of the Retry event
    • getCreationTime

      ZonedDateTime getCreationTime()
      Returns the creation time of Retry event.
      Returns:
      the creation time of Retry event
    • getLastThrowable

      Throwable getLastThrowable()
      Returns the last captured Throwable.
      Returns:
      the last captured Throwable