接口 ReconnectStrategy

    • 方法详细资料

      • getTimeToNextAttempt

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