Class: JobWorkflow::AutoScaling::Executor
- Inherits:
-
Object
- Object
- JobWorkflow::AutoScaling::Executor
- Defined in:
- lib/job_workflow/auto_scaling/executor.rb
Instance Method Summary collapse
-
#initialize(config) ⇒ Executor
constructor
: (Configuration) -> void.
-
#update_desired_count ⇒ Object
: () -> Integer?.
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_count ⇒ Object
: () -> 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 |