| Package | Description |
|---|---|
| com.atlassian.buildeng.ecs.scheduling | |
| com.atlassian.buildeng.isolated.docker.events |
| Modifier and Type | Method and Description |
|---|---|
Collection<DockerHost> |
DockerHosts.agentDisconnected() |
Collection<DockerHost> |
DockerHosts.allUsable()
all instances that actually have agent connected and have associated ec2 instance.
|
List<DockerHost> |
DockerHosts.unusedFresh() |
List<DockerHost> |
DockerHosts.unusedStale() |
List<DockerHost> |
DockerHosts.usedFresh() |
| Modifier and Type | Method and Description |
|---|---|
void |
DockerHosts.addUsedCandidate(DockerHost host) |
SchedulingResult |
AWSSchedulerBackend.schedule(DockerHost dockerHost,
String cluster,
SchedulingRequest request,
String taskDefinition) |
SchedulingResult |
SchedulerBackend.schedule(DockerHost dockerHost,
String cluster,
SchedulingRequest req,
String taskDefinition) |
| Modifier and Type | Method and Description |
|---|---|
void |
AWSSchedulerBackend.drainInstances(List<DockerHost> hosts,
String clusterName) |
void |
SchedulerBackend.drainInstances(List<DockerHost> hosts,
String clusterName)
set the listed EC2 instances to "draining" state.
|
void |
AWSSchedulerBackend.terminateAndDetachInstances(List<DockerHost> hosts,
String asgName,
boolean decrementSize,
String clusterName) |
void |
SchedulerBackend.terminateAndDetachInstances(List<DockerHost> dockerHosts,
String autoScalingGroup,
boolean decrementSize,
String ecsClusterName)
terminate the listed EC2 instances and reduce the size of ASG by the given amount.
|
| Constructor and Description |
|---|
DockerAgentEcsDisconnectedPurgeEvent(List<DockerHost> selectedToKill) |
Copyright © 2022 Atlassian Pty Ltd. All rights reserved.