Interface RetryPolicy.Builder

    • Method Detail

      • maxAttempts

        RetryPolicy.Builder maxAttempts​(Integer maxAttempts)

        Maximum number of attempts for the job run. This parameter is only applicable for BATCH mode.

        Parameters:
        maxAttempts - Maximum number of attempts for the job run. This parameter is only applicable for BATCH mode.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxFailedAttemptsPerHour

        RetryPolicy.Builder maxFailedAttemptsPerHour​(Integer maxFailedAttemptsPerHour)

        Maximum number of failed attempts per hour. This [arameter is only applicable for STREAMING mode.

        Parameters:
        maxFailedAttemptsPerHour - Maximum number of failed attempts per hour. This [arameter is only applicable for STREAMING mode.
        Returns:
        Returns a reference to this object so that method calls can be chained together.