Interface BackoffPolicy

  • All Known Implementing Classes:
    ExponentialBackoffPolicy

    public interface BackoffPolicy
    Determines how long to wait before doing some action (typically a retry, or a reconnect).
    • Method Detail

      • nextBackoffNanos

        long nextBackoffNanos()
        Returns the number of nanoseconds to wait.