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
211 |
# File 'lib/aws/decider/options.rb', line 211 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.
209 |
# File 'lib/aws/decider/options.rb', line 209 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.
205 |
# File 'lib/aws/decider/options.rb', line 205 def exceptions_to_include; FlowConstants.exponential_retry_exceptions_to_include; end |
#initial_retry_interval ⇒ Object
215 |
# File 'lib/aws/decider/options.rb', line 215 def initial_retry_interval; FlowConstants.exponential_retry_initial_retry_interval; end |
#jitter_function ⇒ Object
214 |
# File 'lib/aws/decider/options.rb', line 214 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.
198 |
# File 'lib/aws/decider/options.rb', line 198 def maximum_attempts; FlowConstants.exponential_retry_maximum_attempts; end |
#retry_function ⇒ Object
The default retry function to use.
201 |
# File 'lib/aws/decider/options.rb', line 201 def retry_function; FlowConstants.exponential_retry_function; end |
#should_jitter ⇒ Object
213 |
# File 'lib/aws/decider/options.rb', line 213 def should_jitter; FlowConstants.should_jitter; end |