Class: AWS::Flow::RetryDefaults
- Defined in:
- lib/aws/decider/options.rb
Overview
Defaults for RetryOptions.
Instance Method Summary collapse
- #backoff_coefficient ⇒ Object
-
#exceptions_to_exclude ⇒ Object
The exceptions that will not initiate a retry attempt.
-
#exceptions_to_include ⇒ Object
The exceptions that will initiate a retry attempt.
- #initial_retry_interval ⇒ Object
- #jitter_function ⇒ Object
-
#maximum_attempts ⇒ Object
The default maximum number of attempts to make before the task is marked as failed.
-
#retry_function ⇒ Object
The default retry function to use.
- #should_jitter ⇒ Object
Methods inherited from Defaults
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class AWS::Flow::Defaults
Instance Method Details
#backoff_coefficient ⇒ Object
202 |
# File 'lib/aws/decider/options.rb', line 202 def backoff_coefficient; FlowConstants.exponential_retry_backoff_coefficient; end |
#exceptions_to_exclude ⇒ Object
The exceptions that will not initiate a retry attempt. The default is
an empty list; no exceptions are excluded.
200 |
# File 'lib/aws/decider/options.rb', line 200 def exceptions_to_exclude; FlowConstants.exponential_retry_exceptions_to_exclude; end |
#exceptions_to_include ⇒ Object
The exceptions that will initiate a retry attempt. The default is to
use *all* exceptions.
196 |
# File 'lib/aws/decider/options.rb', line 196 def exceptions_to_include; FlowConstants.exponential_retry_exceptions_to_include; end |
#initial_retry_interval ⇒ Object
206 |
# File 'lib/aws/decider/options.rb', line 206 def initial_retry_interval; FlowConstants.exponential_retry_initial_retry_interval; end |
#jitter_function ⇒ Object
205 |
# File 'lib/aws/decider/options.rb', line 205 def jitter_function; FlowConstants.jitter_function; end |
#maximum_attempts ⇒ Object
The default maximum number of attempts to make before the task is
marked as failed.
189 |
# File 'lib/aws/decider/options.rb', line 189 def maximum_attempts; FlowConstants.exponential_retry_maximum_attempts; end |
#retry_function ⇒ Object
The default retry function to use.
192 |
# File 'lib/aws/decider/options.rb', line 192 def retry_function; FlowConstants.exponential_retry_function; end |
#should_jitter ⇒ Object
204 |
# File 'lib/aws/decider/options.rb', line 204 def should_jitter; FlowConstants.should_jitter; end |