public static class EC2FleetCloud.NodeHardwareScaler extends EC2FleetCloud.ExecutorScaler
Modifier and Type | Class and Description |
---|---|
static class |
EC2FleetCloud.NodeHardwareScaler.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudson
numExecutors
Constructor and Description |
---|
NodeHardwareScaler(int vCpuPerExecutor,
int memoryGiBPerExecutor) |
Modifier and Type | Method and Description |
---|---|
int |
getMemoryGiBPerExecutor() |
int |
getvCpuPerExecutor() |
int |
scale(String instanceType,
FleetStateStats stats,
com.amazonaws.services.ec2.AmazonEC2 ec2) |
void |
setMemoryGiBPerExecutor(int value) |
void |
setvCpuPerExecutor(int value) |
getDescriptor, withNumExecutors
@DataBoundConstructor public NodeHardwareScaler(int vCpuPerExecutor, int memoryGiBPerExecutor)
@DataBoundSetter public void setvCpuPerExecutor(int value)
@DataBoundSetter public void setMemoryGiBPerExecutor(int value)
public int getvCpuPerExecutor()
public int getMemoryGiBPerExecutor()
public int scale(String instanceType, FleetStateStats stats, com.amazonaws.services.ec2.AmazonEC2 ec2)
scale
in class EC2FleetCloud.ExecutorScaler
Copyright © 2016–2023. All rights reserved.