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
274 |
# File 'lib/aws/decider/options.rb', line 274 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.
272 |
# File 'lib/aws/decider/options.rb', line 272 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.
268 |
# File 'lib/aws/decider/options.rb', line 268 def exceptions_to_include; FlowConstants.exponential_retry_exceptions_to_include; end |
#initial_retry_interval ⇒ Object
278 |
# File 'lib/aws/decider/options.rb', line 278 def initial_retry_interval; FlowConstants.exponential_retry_initial_retry_interval; end |
#jitter_function ⇒ Object
277 |
# File 'lib/aws/decider/options.rb', line 277 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.
261 |
# File 'lib/aws/decider/options.rb', line 261 def maximum_attempts; FlowConstants.exponential_retry_maximum_attempts; end |
#retry_function ⇒ Object
The default retry function to use.
264 |
# File 'lib/aws/decider/options.rb', line 264 def retry_function; FlowConstants.exponential_retry_function; end |
#should_jitter ⇒ Object
276 |
# File 'lib/aws/decider/options.rb', line 276 def should_jitter; FlowConstants.should_jitter; end |