Class RetryOnSuccessEvent

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

public class RetryOnSuccessEvent extends AbstractRetryEvent
A RetryEvent which informs that a call has been retried and a retry was successful. This event is not published when a call was successful without a retry attempt.
  • Constructor Details

    • RetryOnSuccessEvent

      public RetryOnSuccessEvent(String name, int currentNumOfAttempts, @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