Class: Temporalio::Worker::Options
- Inherits:
-
Struct
- Object
- Struct
- Temporalio::Worker::Options
- Defined in:
- lib/temporalio/worker.rb
Overview
Options as returned from #options for ‘**to_h“ splat use in #initialize. See #initialize for details.
Instance Attribute Summary collapse
-
#activities ⇒ Object
Returns the value of attribute activities.
-
#activity_executors ⇒ Object
Returns the value of attribute activity_executors.
-
#build_id ⇒ Object
Returns the value of attribute build_id.
-
#client ⇒ Object
Returns the value of attribute client.
-
#default_heartbeat_throttle_interval ⇒ Object
Returns the value of attribute default_heartbeat_throttle_interval.
-
#graceful_shutdown_period ⇒ Object
Returns the value of attribute graceful_shutdown_period.
-
#identity ⇒ Object
Returns the value of attribute identity.
-
#interceptors ⇒ Object
Returns the value of attribute interceptors.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#max_activities_per_second ⇒ Object
Returns the value of attribute max_activities_per_second.
-
#max_cached_workflows ⇒ Object
Returns the value of attribute max_cached_workflows.
-
#max_concurrent_activity_task_polls ⇒ Object
Returns the value of attribute max_concurrent_activity_task_polls.
-
#max_concurrent_workflow_task_polls ⇒ Object
Returns the value of attribute max_concurrent_workflow_task_polls.
-
#max_heartbeat_throttle_interval ⇒ Object
Returns the value of attribute max_heartbeat_throttle_interval.
-
#max_task_queue_activities_per_second ⇒ Object
Returns the value of attribute max_task_queue_activities_per_second.
-
#no_remote_activities ⇒ Object
Returns the value of attribute no_remote_activities.
-
#nonsticky_to_sticky_poll_ratio ⇒ Object
Returns the value of attribute nonsticky_to_sticky_poll_ratio.
-
#sticky_queue_schedule_to_start_timeout ⇒ Object
Returns the value of attribute sticky_queue_schedule_to_start_timeout.
-
#task_queue ⇒ Object
Returns the value of attribute task_queue.
-
#tuner ⇒ Object
Returns the value of attribute tuner.
-
#use_worker_versioning ⇒ Object
Returns the value of attribute use_worker_versioning.
Instance Attribute Details
#activities ⇒ Object
Returns the value of attribute activities
23 24 25 |
# File 'lib/temporalio/worker.rb', line 23 def activities @activities end |
#activity_executors ⇒ Object
Returns the value of attribute activity_executors
23 24 25 |
# File 'lib/temporalio/worker.rb', line 23 def activity_executors @activity_executors end |
#build_id ⇒ Object
Returns the value of attribute build_id
23 24 25 |
# File 'lib/temporalio/worker.rb', line 23 def build_id @build_id end |
#client ⇒ Object
Returns the value of attribute client
23 24 25 |
# File 'lib/temporalio/worker.rb', line 23 def client @client end |
#default_heartbeat_throttle_interval ⇒ Object
Returns the value of attribute default_heartbeat_throttle_interval
23 24 25 |
# File 'lib/temporalio/worker.rb', line 23 def default_heartbeat_throttle_interval @default_heartbeat_throttle_interval end |
#graceful_shutdown_period ⇒ Object
Returns the value of attribute graceful_shutdown_period
23 24 25 |
# File 'lib/temporalio/worker.rb', line 23 def graceful_shutdown_period @graceful_shutdown_period end |
#identity ⇒ Object
Returns the value of attribute identity
23 24 25 |
# File 'lib/temporalio/worker.rb', line 23 def identity @identity end |
#interceptors ⇒ Object
Returns the value of attribute interceptors
23 24 25 |
# File 'lib/temporalio/worker.rb', line 23 def interceptors @interceptors end |
#logger ⇒ Object
Returns the value of attribute logger
23 24 25 |
# File 'lib/temporalio/worker.rb', line 23 def logger @logger end |
#max_activities_per_second ⇒ Object
Returns the value of attribute max_activities_per_second
23 24 25 |
# File 'lib/temporalio/worker.rb', line 23 def max_activities_per_second @max_activities_per_second end |
#max_cached_workflows ⇒ Object
Returns the value of attribute max_cached_workflows
23 24 25 |
# File 'lib/temporalio/worker.rb', line 23 def max_cached_workflows @max_cached_workflows end |
#max_concurrent_activity_task_polls ⇒ Object
Returns the value of attribute max_concurrent_activity_task_polls
23 24 25 |
# File 'lib/temporalio/worker.rb', line 23 def max_concurrent_activity_task_polls @max_concurrent_activity_task_polls end |
#max_concurrent_workflow_task_polls ⇒ Object
Returns the value of attribute max_concurrent_workflow_task_polls
23 24 25 |
# File 'lib/temporalio/worker.rb', line 23 def max_concurrent_workflow_task_polls @max_concurrent_workflow_task_polls end |
#max_heartbeat_throttle_interval ⇒ Object
Returns the value of attribute max_heartbeat_throttle_interval
23 24 25 |
# File 'lib/temporalio/worker.rb', line 23 def max_heartbeat_throttle_interval @max_heartbeat_throttle_interval end |
#max_task_queue_activities_per_second ⇒ Object
Returns the value of attribute max_task_queue_activities_per_second
23 24 25 |
# File 'lib/temporalio/worker.rb', line 23 def max_task_queue_activities_per_second @max_task_queue_activities_per_second end |
#no_remote_activities ⇒ Object
Returns the value of attribute no_remote_activities
23 24 25 |
# File 'lib/temporalio/worker.rb', line 23 def no_remote_activities @no_remote_activities end |
#nonsticky_to_sticky_poll_ratio ⇒ Object
Returns the value of attribute nonsticky_to_sticky_poll_ratio
23 24 25 |
# File 'lib/temporalio/worker.rb', line 23 def nonsticky_to_sticky_poll_ratio @nonsticky_to_sticky_poll_ratio end |
#sticky_queue_schedule_to_start_timeout ⇒ Object
Returns the value of attribute sticky_queue_schedule_to_start_timeout
23 24 25 |
# File 'lib/temporalio/worker.rb', line 23 def sticky_queue_schedule_to_start_timeout @sticky_queue_schedule_to_start_timeout end |
#task_queue ⇒ Object
Returns the value of attribute task_queue
23 24 25 |
# File 'lib/temporalio/worker.rb', line 23 def task_queue @task_queue end |
#tuner ⇒ Object
Returns the value of attribute tuner
23 24 25 |
# File 'lib/temporalio/worker.rb', line 23 def tuner @tuner end |
#use_worker_versioning ⇒ Object
Returns the value of attribute use_worker_versioning
23 24 25 |
# File 'lib/temporalio/worker.rb', line 23 def use_worker_versioning @use_worker_versioning end |