Class RetryOnErrorEvent

java.lang.Object
io.github.resilience4j.retry.event.AbstractRetryEvent
io.github.resilience4j.retry.event.RetryOnErrorEvent
All Implemented Interfaces:
RetryEvent

public class RetryOnErrorEvent extends AbstractRetryEvent
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.
  • Constructor Details

    • RetryOnErrorEvent

      public RetryOnErrorEvent(String name, int numberOfAttempts, @Nullable Throwable lastThrowable)
  • Method Details

    • getEventType

      public RetryEvent.Type getEventType()
      Description copied from interface: RetryEvent
      Returns the type of the Retry event.
      Returns:
      the type of the Retry event
    • toString

      public String toString()
      Overrides:
      toString in class Object