public abstract static class EC2FleetCloud.ExecutorScaler extends AbstractDescribableImpl<EC2FleetCloud.ExecutorScaler> implements ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
protected int |
numExecutors |
Modifier | Constructor and Description |
---|---|
protected |
ExecutorScaler() |
Modifier and Type | Method and Description |
---|---|
EC2FleetCloud.ExecutorScaleDescriptor |
getDescriptor() |
abstract int |
scale(String instanceType,
FleetStateStats stats,
com.amazonaws.services.ec2.AmazonEC2 ec2) |
EC2FleetCloud.ExecutorScaler |
withNumExecutors(int numExecutors) |
public abstract int scale(String instanceType, FleetStateStats stats, com.amazonaws.services.ec2.AmazonEC2 ec2)
public EC2FleetCloud.ExecutorScaler withNumExecutors(int numExecutors)
public EC2FleetCloud.ExecutorScaleDescriptor getDescriptor()
getDescriptor
in interface Describable<EC2FleetCloud.ExecutorScaler>
getDescriptor
in class AbstractDescribableImpl<EC2FleetCloud.ExecutorScaler>
Copyright © 2016–2023. All rights reserved.