Class: AWS::Flow::ActivityDefaults
- Defined in:
- lib/aws/decider/options.rb
Overview
Defaults for the ActivityOptions class
Instance Method Summary collapse
- #data_converter ⇒ Object
-
#default_task_heartbeat_timeout ⇒ Object
The default maximum time in seconds before which a worker processing a task of this type must report progress.
-
#default_task_schedule_to_close_timeout ⇒ Object
The default Schedule to Close timeout for activity tasks.
-
#heartbeat_timeout ⇒ Object
The default maximum time before which a worker processing a task of this type must report progress.
-
#schedule_to_close_timeout ⇒ Object
The default Schedule to Close timeout.
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
#data_converter ⇒ Object
417 |
# File 'lib/aws/decider/options.rb', line 417 def data_converter; FlowConstants.default_data_converter; end |
#default_task_heartbeat_timeout ⇒ Object
The default maximum time in seconds before which a worker processing a task of this type must report progress. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or returns a result, it will be ignored.
This default can be overridden when scheduling an activity task. You can set this value to “NONE” to imply no timeout value.
397 |
# File 'lib/aws/decider/options.rb', line 397 def default_task_heartbeat_timeout; Float::INFINITY; end |
#default_task_schedule_to_close_timeout ⇒ Object
The default Schedule to Close timeout for activity tasks. This timeout represents the time, in seconds, between when the activity task is first scheduled to when it is closed (whether due to success, failure, or a timeout).
This default can be overridden when scheduling an activity task. You can set this value to “NONE” to imply no timeout value.
388 |
# File 'lib/aws/decider/options.rb', line 388 def default_task_schedule_to_close_timeout; Float::INFINITY; end |
#heartbeat_timeout ⇒ Object
The default maximum time before which a worker processing a task of this type must report progress. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or returns a result, it will be ignored. This default can be overridden when scheduling an activity task.
This default can be overridden when scheduling an activity task. You can set this value to “NONE” to imply no timeout value.
415 |
# File 'lib/aws/decider/options.rb', line 415 def heartbeat_timeout; Float::INFINITY; end |
#schedule_to_close_timeout ⇒ Object
The default Schedule to Close timeout. This timeout represents the time between when the activity task is first scheduled to when it is closed (whether due to success, failure, or a timeout).
This default can be overridden when scheduling an activity task. You can set this value to “NONE” to imply no timeout value.
405 |
# File 'lib/aws/decider/options.rb', line 405 def schedule_to_close_timeout; Float::INFINITY; end |