Interface RestartBackoffTimeStrategy

    • Method Detail

      • canRestart

        boolean canRestart()
        Returns whether a restart should be conducted.
        Returns:
        whether a restart should be conducted
      • getBackoffTime

        long getBackoffTime()
        Returns the delay to do the restarting.
        Returns:
        the delay to do the restarting
      • notifyFailure

        void notifyFailure​(Throwable cause)
        Notify the strategy about the task failure cause.
        Parameters:
        cause - of the task failure