Class: Temporalio::Worker::Options
- Inherits:
-
Data
- Object
- Data
- Temporalio::Worker::Options
- Defined in:
- lib/temporalio/worker.rb,
lib/temporalio/worker.rb
Overview
Options as returned from #options for ‘**to_h` splat use in #initialize. See #initialize for details.
Note, the ‘client` within can be replaced via client setter.
Instance Attribute Summary collapse
-
#activities ⇒ Object
readonly
Returns the value of attribute activities.
-
#activity_executors ⇒ Object
readonly
Returns the value of attribute activity_executors.
-
#activity_task_poller_behavior ⇒ Object
readonly
Returns the value of attribute activity_task_poller_behavior.
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#debug_mode ⇒ Object
readonly
Returns the value of attribute debug_mode.
-
#default_heartbeat_throttle_interval ⇒ Object
readonly
Returns the value of attribute default_heartbeat_throttle_interval.
-
#deployment_options ⇒ Object
readonly
Returns the value of attribute deployment_options.
-
#disable_eager_activity_execution ⇒ Object
readonly
Returns the value of attribute disable_eager_activity_execution.
-
#graceful_shutdown_period ⇒ Object
readonly
Returns the value of attribute graceful_shutdown_period.
-
#identity ⇒ Object
readonly
Returns the value of attribute identity.
-
#illegal_workflow_calls ⇒ Object
readonly
Returns the value of attribute illegal_workflow_calls.
-
#interceptors ⇒ Object
readonly
Returns the value of attribute interceptors.
-
#logger ⇒ Object
readonly
Returns the value of attribute logger.
-
#max_activities_per_second ⇒ Object
readonly
Returns the value of attribute max_activities_per_second.
-
#max_cached_workflows ⇒ Object
readonly
Returns the value of attribute max_cached_workflows.
-
#max_concurrent_activity_task_polls ⇒ Object
readonly
Returns the value of attribute max_concurrent_activity_task_polls.
-
#max_concurrent_workflow_task_polls ⇒ Object
readonly
Returns the value of attribute max_concurrent_workflow_task_polls.
-
#max_heartbeat_throttle_interval ⇒ Object
readonly
Returns the value of attribute max_heartbeat_throttle_interval.
-
#max_task_queue_activities_per_second ⇒ Object
readonly
Returns the value of attribute max_task_queue_activities_per_second.
-
#no_remote_activities ⇒ Object
readonly
Returns the value of attribute no_remote_activities.
-
#nonsticky_to_sticky_poll_ratio ⇒ Object
readonly
Returns the value of attribute nonsticky_to_sticky_poll_ratio.
-
#sticky_queue_schedule_to_start_timeout ⇒ Object
readonly
Returns the value of attribute sticky_queue_schedule_to_start_timeout.
-
#task_queue ⇒ Object
readonly
Returns the value of attribute task_queue.
-
#tuner ⇒ Object
readonly
Returns the value of attribute tuner.
-
#unsafe_workflow_io_enabled ⇒ Object
readonly
Returns the value of attribute unsafe_workflow_io_enabled.
-
#workflow_executor ⇒ Object
readonly
Returns the value of attribute workflow_executor.
-
#workflow_failure_exception_types ⇒ Object
readonly
Returns the value of attribute workflow_failure_exception_types.
-
#workflow_payload_codec_thread_pool ⇒ Object
readonly
Returns the value of attribute workflow_payload_codec_thread_pool.
-
#workflow_task_poller_behavior ⇒ Object
readonly
Returns the value of attribute workflow_task_poller_behavior.
-
#workflows ⇒ Object
readonly
Returns the value of attribute workflows.
Instance Attribute Details
#activities ⇒ Object (readonly)
Returns the value of attribute activities
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def activities @activities end |
#activity_executors ⇒ Object (readonly)
Returns the value of attribute activity_executors
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def activity_executors @activity_executors end |
#activity_task_poller_behavior ⇒ Object (readonly)
Returns the value of attribute activity_task_poller_behavior
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def activity_task_poller_behavior @activity_task_poller_behavior end |
#client ⇒ Object (readonly)
Returns the value of attribute client
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def client @client end |
#debug_mode ⇒ Object (readonly)
Returns the value of attribute debug_mode
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def debug_mode @debug_mode end |
#default_heartbeat_throttle_interval ⇒ Object (readonly)
Returns the value of attribute default_heartbeat_throttle_interval
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def default_heartbeat_throttle_interval @default_heartbeat_throttle_interval end |
#deployment_options ⇒ Object (readonly)
Returns the value of attribute deployment_options
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def @deployment_options end |
#disable_eager_activity_execution ⇒ Object (readonly)
Returns the value of attribute disable_eager_activity_execution
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def disable_eager_activity_execution @disable_eager_activity_execution end |
#graceful_shutdown_period ⇒ Object (readonly)
Returns the value of attribute graceful_shutdown_period
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def graceful_shutdown_period @graceful_shutdown_period end |
#identity ⇒ Object (readonly)
Returns the value of attribute identity
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def identity @identity end |
#illegal_workflow_calls ⇒ Object (readonly)
Returns the value of attribute illegal_workflow_calls
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def illegal_workflow_calls @illegal_workflow_calls end |
#interceptors ⇒ Object (readonly)
Returns the value of attribute interceptors
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def interceptors @interceptors end |
#logger ⇒ Object (readonly)
Returns the value of attribute logger
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def logger @logger end |
#max_activities_per_second ⇒ Object (readonly)
Returns the value of attribute max_activities_per_second
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def max_activities_per_second @max_activities_per_second end |
#max_cached_workflows ⇒ Object (readonly)
Returns the value of attribute max_cached_workflows
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def max_cached_workflows @max_cached_workflows end |
#max_concurrent_activity_task_polls ⇒ Object (readonly)
Returns the value of attribute max_concurrent_activity_task_polls
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def max_concurrent_activity_task_polls @max_concurrent_activity_task_polls end |
#max_concurrent_workflow_task_polls ⇒ Object (readonly)
Returns the value of attribute max_concurrent_workflow_task_polls
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def max_concurrent_workflow_task_polls @max_concurrent_workflow_task_polls end |
#max_heartbeat_throttle_interval ⇒ Object (readonly)
Returns the value of attribute max_heartbeat_throttle_interval
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def max_heartbeat_throttle_interval @max_heartbeat_throttle_interval end |
#max_task_queue_activities_per_second ⇒ Object (readonly)
Returns the value of attribute max_task_queue_activities_per_second
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def max_task_queue_activities_per_second @max_task_queue_activities_per_second end |
#no_remote_activities ⇒ Object (readonly)
Returns the value of attribute no_remote_activities
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def no_remote_activities @no_remote_activities end |
#nonsticky_to_sticky_poll_ratio ⇒ Object (readonly)
Returns the value of attribute nonsticky_to_sticky_poll_ratio
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def nonsticky_to_sticky_poll_ratio @nonsticky_to_sticky_poll_ratio end |
#sticky_queue_schedule_to_start_timeout ⇒ Object (readonly)
Returns the value of attribute sticky_queue_schedule_to_start_timeout
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def sticky_queue_schedule_to_start_timeout @sticky_queue_schedule_to_start_timeout end |
#task_queue ⇒ Object (readonly)
Returns the value of attribute task_queue
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def task_queue @task_queue end |
#tuner ⇒ Object (readonly)
Returns the value of attribute tuner
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def tuner @tuner end |
#unsafe_workflow_io_enabled ⇒ Object (readonly)
Returns the value of attribute unsafe_workflow_io_enabled
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def unsafe_workflow_io_enabled @unsafe_workflow_io_enabled end |
#workflow_executor ⇒ Object (readonly)
Returns the value of attribute workflow_executor
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def workflow_executor @workflow_executor end |
#workflow_failure_exception_types ⇒ Object (readonly)
Returns the value of attribute workflow_failure_exception_types
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def workflow_failure_exception_types @workflow_failure_exception_types end |
#workflow_payload_codec_thread_pool ⇒ Object (readonly)
Returns the value of attribute workflow_payload_codec_thread_pool
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def workflow_payload_codec_thread_pool @workflow_payload_codec_thread_pool end |
#workflow_task_poller_behavior ⇒ Object (readonly)
Returns the value of attribute workflow_task_poller_behavior
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def workflow_task_poller_behavior @workflow_task_poller_behavior end |
#workflows ⇒ Object (readonly)
Returns the value of attribute workflows
30 31 32 |
# File 'lib/temporalio/worker.rb', line 30 def workflows @workflows end |