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



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

def activities
  @activities
end

#activity_executorsObject (readonly)

Returns the value of attribute activity_executors

Returns:

  • (Object)

    the current value of activity_executors



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

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



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

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



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

def client
  @client
end

#debug_modeObject (readonly)

Returns the value of attribute debug_mode

Returns:

  • (Object)

    the current value of debug_mode



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

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



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

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



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

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



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

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



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

def graceful_shutdown_period
  @graceful_shutdown_period
end

#identityObject (readonly)

Returns the value of attribute identity

Returns:

  • (Object)

    the current value of identity



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

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



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

def illegal_workflow_calls
  @illegal_workflow_calls
end

#interceptorsObject (readonly)

Returns the value of attribute interceptors

Returns:

  • (Object)

    the current value of interceptors



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

def interceptors
  @interceptors
end

#loggerObject (readonly)

Returns the value of attribute logger

Returns:

  • (Object)

    the current value of logger



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

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



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

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



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

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



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

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



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

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



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

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



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

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



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

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



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

def nonsticky_to_sticky_poll_ratio
  @nonsticky_to_sticky_poll_ratio
end

#pluginsObject (readonly)

Returns the value of attribute plugins

Returns:

  • (Object)

    the current value of plugins



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

def plugins
  @plugins
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



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

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



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

def task_queue
  @task_queue
end

#tunerObject (readonly)

Returns the value of attribute tuner

Returns:

  • (Object)

    the current value of tuner



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

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



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

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



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

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



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

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



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

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



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

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



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

def workflows
  @workflows
end