Class: AWS::Flow::RetryDefaults

Inherits:
Defaults
  • Object
show all
Defined in:
aws-flow-ruby/aws-flow/lib/aws/decider/options.rb

Overview

Defaults for RetryOptions.

Instance Method Summary (collapse)

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class AWS::Flow::Defaults

Instance Method Details

- (Object) backoff_coefficient

Sets the backoff coefficient to use for retry attempts.



228
# File 'aws-flow-ruby/aws-flow/lib/aws/decider/options.rb', line 228

def backoff_coefficient; FlowConstants.exponential_retry_backoff_coefficient; end

- (Object) exceptions_to_exclude

The exceptions that will not initiate a retry attempt. The default is an empty list; no exceptions are excluded.

@see FlowConstants.exponential_retry_exceptions_to_exclude



223
# File 'aws-flow-ruby/aws-flow/lib/aws/decider/options.rb', line 223

def exceptions_to_exclude; FlowConstants.exponential_retry_exceptions_to_exclude; end

- (Object) exceptions_to_include

The exceptions that will initiate a retry attempt. The default is to use all exceptions.

@see FlowConstants.exponential_retry_exceptions_to_include



217
# File 'aws-flow-ruby/aws-flow/lib/aws/decider/options.rb', line 217

def exceptions_to_include; FlowConstants.exponential_retry_exceptions_to_include; end

- (Object) initial_retry_interval



238
# File 'aws-flow-ruby/aws-flow/lib/aws/decider/options.rb', line 238

def initial_retry_interval; FlowConstants.exponential_retry_initial_retry_interval; end

- (Object) jitter_function



235
# File 'aws-flow-ruby/aws-flow/lib/aws/decider/options.rb', line 235

def jitter_function; FlowConstants.jitter_function; end

- (Object) maximum_attempts

The default maximum number of attempts to make before the task is marked as failed.

@see FlowConstants.exponential_retry_maximum_attempts



206
# File 'aws-flow-ruby/aws-flow/lib/aws/decider/options.rb', line 206

def maximum_attempts; FlowConstants.exponential_retry_maximum_attempts; end

- (Object) retry_function

The default retry function to use.

@see FlowConstants.exponential_retry_function



211
# File 'aws-flow-ruby/aws-flow/lib/aws/decider/options.rb', line 211

def retry_function; FlowConstants.exponential_retry_function; end

- (Object) should_jitter

Returns the value of FlowConstants#should_jitter

Returns:



232
# File 'aws-flow-ruby/aws-flow/lib/aws/decider/options.rb', line 232

def should_jitter; FlowConstants.should_jitter; end