Class: Temporalio::Worker::Options

Inherits:
Data
  • Object
show all
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

Instance Attribute Details

#activitiesObject (readonly)

Returns the value of attribute activities

Returns:

  • (Object)

    the current value of activities



30
31
32
# File 'lib/temporalio/worker.rb', line 30

def activities
  @activities
end

#activity_executorsObject (readonly)

Returns the value of attribute activity_executors

Returns:

  • (Object)

    the current value of activity_executors



30
31
32
# File 'lib/temporalio/worker.rb', line 30

def activity_executors
  @activity_executors
end

#activity_task_poller_behaviorObject (readonly)

Returns the value of attribute activity_task_poller_behavior

Returns:

  • (Object)

    the current value of activity_task_poller_behavior



30
31
32
# File 'lib/temporalio/worker.rb', line 30

def activity_task_poller_behavior
  @activity_task_poller_behavior
end

#clientObject (readonly)

Returns the value of attribute client

Returns:

  • (Object)

    the current value of client



30
31
32
# File 'lib/temporalio/worker.rb', line 30

def client
  @client
end

#debug_modeObject (readonly)

Returns the value of attribute debug_mode

Returns:

  • (Object)

    the current value of debug_mode



30
31
32
# File 'lib/temporalio/worker.rb', line 30

def debug_mode
  @debug_mode
end

#default_heartbeat_throttle_intervalObject (readonly)

Returns the value of attribute default_heartbeat_throttle_interval

Returns:

  • (Object)

    the current value of 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_optionsObject (readonly)

Returns the value of attribute deployment_options

Returns:

  • (Object)

    the current value of deployment_options



30
31
32
# File 'lib/temporalio/worker.rb', line 30

def deployment_options
  @deployment_options
end

#disable_eager_activity_executionObject (readonly)

Returns the value of attribute disable_eager_activity_execution

Returns:

  • (Object)

    the current value of 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_periodObject (readonly)

Returns the value of attribute graceful_shutdown_period

Returns:

  • (Object)

    the current value of graceful_shutdown_period



30
31
32
# File 'lib/temporalio/worker.rb', line 30

def graceful_shutdown_period
  @graceful_shutdown_period
end

#identityObject (readonly)

Returns the value of attribute identity

Returns:

  • (Object)

    the current value of identity



30
31
32
# File 'lib/temporalio/worker.rb', line 30

def identity
  @identity
end

#illegal_workflow_callsObject (readonly)

Returns the value of attribute illegal_workflow_calls

Returns:

  • (Object)

    the current value of illegal_workflow_calls



30
31
32
# File 'lib/temporalio/worker.rb', line 30

def illegal_workflow_calls
  @illegal_workflow_calls
end

#interceptorsObject (readonly)

Returns the value of attribute interceptors

Returns:

  • (Object)

    the current value of interceptors



30
31
32
# File 'lib/temporalio/worker.rb', line 30

def interceptors
  @interceptors
end

#loggerObject (readonly)

Returns the value of attribute logger

Returns:

  • (Object)

    the current value of logger



30
31
32
# File 'lib/temporalio/worker.rb', line 30

def logger
  @logger
end

#max_activities_per_secondObject (readonly)

Returns the value of attribute max_activities_per_second

Returns:

  • (Object)

    the current value of 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_workflowsObject (readonly)

Returns the value of attribute max_cached_workflows

Returns:

  • (Object)

    the current value of 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_pollsObject (readonly)

Returns the value of attribute max_concurrent_activity_task_polls

Returns:

  • (Object)

    the current value of 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_pollsObject (readonly)

Returns the value of attribute max_concurrent_workflow_task_polls

Returns:

  • (Object)

    the current value of 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_intervalObject (readonly)

Returns the value of attribute max_heartbeat_throttle_interval

Returns:

  • (Object)

    the current value of 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_secondObject (readonly)

Returns the value of attribute max_task_queue_activities_per_second

Returns:

  • (Object)

    the current value of 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_activitiesObject (readonly)

Returns the value of attribute no_remote_activities

Returns:

  • (Object)

    the current value of 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_ratioObject (readonly)

Returns the value of attribute nonsticky_to_sticky_poll_ratio

Returns:

  • (Object)

    the current value of 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_timeoutObject (readonly)

Returns the value of attribute sticky_queue_schedule_to_start_timeout

Returns:

  • (Object)

    the current value of 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_queueObject (readonly)

Returns the value of attribute task_queue

Returns:

  • (Object)

    the current value of task_queue



30
31
32
# File 'lib/temporalio/worker.rb', line 30

def task_queue
  @task_queue
end

#tunerObject (readonly)

Returns the value of attribute tuner

Returns:

  • (Object)

    the current value of tuner



30
31
32
# File 'lib/temporalio/worker.rb', line 30

def tuner
  @tuner
end

#unsafe_workflow_io_enabledObject (readonly)

Returns the value of attribute unsafe_workflow_io_enabled

Returns:

  • (Object)

    the current value of 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_executorObject (readonly)

Returns the value of attribute workflow_executor

Returns:

  • (Object)

    the current value of workflow_executor



30
31
32
# File 'lib/temporalio/worker.rb', line 30

def workflow_executor
  @workflow_executor
end

#workflow_failure_exception_typesObject (readonly)

Returns the value of attribute workflow_failure_exception_types

Returns:

  • (Object)

    the current value of 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_poolObject (readonly)

Returns the value of attribute workflow_payload_codec_thread_pool

Returns:

  • (Object)

    the current value of 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_behaviorObject (readonly)

Returns the value of attribute workflow_task_poller_behavior

Returns:

  • (Object)

    the current value of workflow_task_poller_behavior



30
31
32
# File 'lib/temporalio/worker.rb', line 30

def workflow_task_poller_behavior
  @workflow_task_poller_behavior
end

#workflowsObject (readonly)

Returns the value of attribute workflows

Returns:

  • (Object)

    the current value of workflows



30
31
32
# File 'lib/temporalio/worker.rb', line 30

def workflows
  @workflows
end