Class: JobWorkflow::AutoScaling::Executor

Inherits:
Object
  • Object
show all
Defined in:
lib/job_workflow/auto_scaling/executor.rb

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ Executor

: (Configuration) -> void



7
8
9
# File 'lib/job_workflow/auto_scaling/executor.rb', line 7

def initialize(config)
  @config = config
end

Instance Method Details

#update_desired_countObject

: () -> Integer?



12
13
14
# File 'lib/job_workflow/auto_scaling/executor.rb', line 12

def update_desired_count
  adapter.update_desired_count(desired_count_by_latency)
end