Interface Retry.RetryState

All Superinterfaces:
AutoCloseable
Enclosing interface:
Retry

public static interface Retry.RetryState extends AutoCloseable
Retry State implementation for manual retry execution handling
  • Method Details

    • onException

      @Nonnull Retry.RetryState.RetryStatus onException(@Nonnull Throwable throwable)
    • getAttempts

      int getAttempts()
    • getAttemptsMax

      int getAttemptsMax()
    • getDelayNanos

      long getDelayNanos()
    • doDelay

      void doDelay()
    • close

      void close()
      Specified by:
      close in interface AutoCloseable