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.
-
#patch_activation_callback ⇒ Object
readonly
Returns the value of attribute patch_activation_callback.
-
#plugins ⇒ Object
readonly
Returns the value of attribute plugins.
-
#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
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 def activities @activities end |
#activity_executors ⇒ Object (readonly)
Returns the value of attribute activity_executors
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 def activity_executors @activity_executors end |
#activity_task_poller_behavior ⇒ Object (readonly)
Returns the value of attribute activity_task_poller_behavior
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 def activity_task_poller_behavior @activity_task_poller_behavior end |
#client ⇒ Object (readonly)
Returns the value of attribute client
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 def client @client end |
#debug_mode ⇒ Object (readonly)
Returns the value of attribute debug_mode
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 def debug_mode @debug_mode end |
#default_heartbeat_throttle_interval ⇒ Object (readonly)
Returns the value of attribute default_heartbeat_throttle_interval
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 def default_heartbeat_throttle_interval @default_heartbeat_throttle_interval end |
#deployment_options ⇒ Object (readonly)
Returns the value of attribute deployment_options
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 def @deployment_options end |
#disable_eager_activity_execution ⇒ Object (readonly)
Returns the value of attribute disable_eager_activity_execution
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 def disable_eager_activity_execution @disable_eager_activity_execution end |
#graceful_shutdown_period ⇒ Object (readonly)
Returns the value of attribute graceful_shutdown_period
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 def graceful_shutdown_period @graceful_shutdown_period end |
#identity ⇒ Object (readonly)
Returns the value of attribute identity
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 def identity @identity end |
#illegal_workflow_calls ⇒ Object (readonly)
Returns the value of attribute illegal_workflow_calls
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 def illegal_workflow_calls @illegal_workflow_calls end |
#interceptors ⇒ Object (readonly)
Returns the value of attribute interceptors
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 def interceptors @interceptors end |
#logger ⇒ Object (readonly)
Returns the value of attribute logger
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 def logger @logger end |
#max_activities_per_second ⇒ Object (readonly)
Returns the value of attribute max_activities_per_second
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 def max_activities_per_second @max_activities_per_second end |
#max_cached_workflows ⇒ Object (readonly)
Returns the value of attribute max_cached_workflows
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 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
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 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
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 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
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 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
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 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
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 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
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 def nonsticky_to_sticky_poll_ratio @nonsticky_to_sticky_poll_ratio end |
#patch_activation_callback ⇒ Object (readonly)
Returns the value of attribute patch_activation_callback
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 def patch_activation_callback @patch_activation_callback end |
#plugins ⇒ Object (readonly)
Returns the value of attribute plugins
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 def plugins @plugins end |
#sticky_queue_schedule_to_start_timeout ⇒ Object (readonly)
Returns the value of attribute sticky_queue_schedule_to_start_timeout
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 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
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 def task_queue @task_queue end |
#tuner ⇒ Object (readonly)
Returns the value of attribute tuner
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 def tuner @tuner end |
#unsafe_workflow_io_enabled ⇒ Object (readonly)
Returns the value of attribute unsafe_workflow_io_enabled
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 def unsafe_workflow_io_enabled @unsafe_workflow_io_enabled end |
#workflow_executor ⇒ Object (readonly)
Returns the value of attribute workflow_executor
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 def workflow_executor @workflow_executor end |
#workflow_failure_exception_types ⇒ Object (readonly)
Returns the value of attribute workflow_failure_exception_types
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 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
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 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
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 def workflow_task_poller_behavior @workflow_task_poller_behavior end |
#workflows ⇒ Object (readonly)
Returns the value of attribute workflows
42 43 44 |
# File 'lib/temporalio/worker.rb', line 42 def workflows @workflows end |