Class: AWS::Flow::ExponentialRetryOptions

Inherits:
RetryOptions show all
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

#precursors

Attributes included from Utilities::UpwardLookups::InstanceMethods

#precursors

Instance Method Summary collapse

Methods inherited from RetryOptions

#initialize, #isRetryable

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

#look_upwards

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.



332
333
334
335
336
# File 'lib/aws/decider/options.rb', line 332

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