Class: Temporalio::Internal::Bridge::Worker::TunerResourceBasedSlotSupplierOptions

Inherits:
Struct
  • Object
show all
Defined in:
lib/temporalio/internal/bridge/worker.rb

Instance Attribute Summary collapse

Instance Attribute Details

#max_slotsObject

Returns the value of attribute max_slots

Returns:

  • (Object)

    the current value of max_slots



45
46
47
# File 'lib/temporalio/internal/bridge/worker.rb', line 45

def max_slots
  @max_slots
end

#min_slotsObject

Returns the value of attribute min_slots

Returns:

  • (Object)

    the current value of min_slots



45
46
47
# File 'lib/temporalio/internal/bridge/worker.rb', line 45

def min_slots
  @min_slots
end

#ramp_throttleObject

Returns the value of attribute ramp_throttle

Returns:

  • (Object)

    the current value of ramp_throttle



45
46
47
# File 'lib/temporalio/internal/bridge/worker.rb', line 45

def ramp_throttle
  @ramp_throttle
end

#target_cpu_usageObject

Returns the value of attribute target_cpu_usage

Returns:

  • (Object)

    the current value of target_cpu_usage



45
46
47
# File 'lib/temporalio/internal/bridge/worker.rb', line 45

def target_cpu_usage
  @target_cpu_usage
end

#target_mem_usageObject

Returns the value of attribute target_mem_usage

Returns:

  • (Object)

    the current value of target_mem_usage



45
46
47
# File 'lib/temporalio/internal/bridge/worker.rb', line 45

def target_mem_usage
  @target_mem_usage
end