Class: Temporalio::Worker::Options

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

Instance Attribute Details

#activitiesObject

Returns the value of attribute activities

Returns:

  • (Object)

    the current value of activities



23
24
25
# File 'lib/temporalio/worker.rb', line 23

def activities
  @activities
end

#activity_executorsObject

Returns the value of attribute activity_executors

Returns:

  • (Object)

    the current value of activity_executors



23
24
25
# File 'lib/temporalio/worker.rb', line 23

def activity_executors
  @activity_executors
end

#build_idObject

Returns the value of attribute build_id

Returns:

  • (Object)

    the current value of build_id



23
24
25
# File 'lib/temporalio/worker.rb', line 23

def build_id
  @build_id
end

#clientObject

Returns the value of attribute client

Returns:

  • (Object)

    the current value of client



23
24
25
# File 'lib/temporalio/worker.rb', line 23

def client
  @client
end

#default_heartbeat_throttle_intervalObject

Returns the value of attribute default_heartbeat_throttle_interval

Returns:

  • (Object)

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

Returns the value of attribute graceful_shutdown_period

Returns:

  • (Object)

    the current value of graceful_shutdown_period



23
24
25
# File 'lib/temporalio/worker.rb', line 23

def graceful_shutdown_period
  @graceful_shutdown_period
end

#identityObject

Returns the value of attribute identity

Returns:

  • (Object)

    the current value of identity



23
24
25
# File 'lib/temporalio/worker.rb', line 23

def identity
  @identity
end

#interceptorsObject

Returns the value of attribute interceptors

Returns:

  • (Object)

    the current value of interceptors



23
24
25
# File 'lib/temporalio/worker.rb', line 23

def interceptors
  @interceptors
end

#loggerObject

Returns the value of attribute logger

Returns:

  • (Object)

    the current value of logger



23
24
25
# File 'lib/temporalio/worker.rb', line 23

def logger
  @logger
end

#max_activities_per_secondObject

Returns the value of attribute max_activities_per_second

Returns:

  • (Object)

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

Returns the value of attribute max_cached_workflows

Returns:

  • (Object)

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

Returns the value of attribute max_concurrent_activity_task_polls

Returns:

  • (Object)

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

Returns the value of attribute max_concurrent_workflow_task_polls

Returns:

  • (Object)

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

Returns the value of attribute max_heartbeat_throttle_interval

Returns:

  • (Object)

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

Returns the value of attribute max_task_queue_activities_per_second

Returns:

  • (Object)

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

Returns the value of attribute no_remote_activities

Returns:

  • (Object)

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

Returns the value of attribute nonsticky_to_sticky_poll_ratio

Returns:

  • (Object)

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

Returns the value of attribute sticky_queue_schedule_to_start_timeout

Returns:

  • (Object)

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

Returns the value of attribute task_queue

Returns:

  • (Object)

    the current value of task_queue



23
24
25
# File 'lib/temporalio/worker.rb', line 23

def task_queue
  @task_queue
end

#tunerObject

Returns the value of attribute tuner

Returns:

  • (Object)

    the current value of tuner



23
24
25
# File 'lib/temporalio/worker.rb', line 23

def tuner
  @tuner
end

#use_worker_versioningObject

Returns the value of attribute use_worker_versioning

Returns:

  • (Object)

    the current value of use_worker_versioning



23
24
25
# File 'lib/temporalio/worker.rb', line 23

def use_worker_versioning
  @use_worker_versioning
end