Interface ReconnectStrategy

    • Method Detail

      • getTimeToNextAttempt

        Long getTimeToNextAttempt​(int attemptCount)
        Return the time to the next attempt to reconnect.
        Parameters:
        attemptCount - how many reconnect attempts have been made already
        Returns:
        the amount of time in milliseconds or null to stop