@Internal
public interface ElasticRunningInstancesOptimizer
ElasticRunningInstancesOptimizer
is responsible for determining what elastic images and how many of them need to be started to speed up queue
processing. It also checks what elastic instances can be shutdown without impacting the queue processing.Modifier and Type | Method and Description |
---|---|
Collection<RemoteElasticInstance> |
getAgentsToStop()
Returns a collection of currently running elastic agents that should be stopped.
|
Collection<ElasticImageConfiguration> |
getImagesToStart()
Which and how many elastic images should be started.
|
@NotNull Collection<ElasticImageConfiguration> getImagesToStart()
@NotNull Collection<RemoteElasticInstance> getAgentsToStop()
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.