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 Attribute Summary
Attributes included from Utilities::UpwardLookups
Attributes included from Utilities::UpwardLookups::InstanceMethods
Instance Method Summary collapse
Methods inherited from RetryOptions
Methods inherited from Options
#get_options, inherited, #initialize, #method_missing
Methods included from Utilities::UpwardLookups
#held_properties, #properties, #property
Methods included from Utilities::UpwardLookups::InstanceMethods
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
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
297 298 299 300 301 |
# File 'lib/aws/decider/options.rb', line 297 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 |