Class: AWS::Flow::ExponentialRetryOptions
- Inherits:
-
RetryOptions
- Object
- Options
- RetryOptions
- AWS::Flow::ExponentialRetryOptions
- Defined in:
- lib/aws/decider/options.rb
Overview
Exponential retry options for the ActivityClient#exponential_retry method.
Instance Method Summary collapse
Methods inherited from RetryOptions
Methods inherited from Options
#get_options, inherited, #initialize, #method_missing
Constructor Details
This class inherits a constructor from AWS::Flow::RetryOptions
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class AWS::Flow::Options
Instance Method Details
#next_retry_delay_seconds(first_attempt, recorded_failure, attempts) ⇒ Object
251 252 253 254 255 |
# File 'lib/aws/decider/options.rb', line 251 def next_retry_delay_seconds(first_attempt, recorded_failure, attempts) raise IllegalArgumentException "Attempt number is #{attempts}, when it needs to be greater than 1" if @maximum_attempts end end |