Class AutomaticInstanceManagementConfig
java.lang.Object
com.atlassian.bamboo.agent.elastic.server.AutomaticInstanceManagementConfig
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AutomaticInstanceManagementConfig
static final List<AutomaticInstanceManagementConfig>
static final String
static final AutomaticInstanceManagementConfig
static final AutomaticInstanceManagementConfig
static final AutomaticInstanceManagementConfig
static final AutomaticInstanceManagementConfig
-
Method Summary
Modifier and TypeMethodDescriptionlong
int
long
int
int
int
boolean
void
setAverageTimeInQueueThreshold
(long averageTimeInQueueThreshold) void
setElasticBuildsInQueueThreshold
(int elasticBuildsInQueueThreshold) void
setInstanceIdleTimeThreshold
(long instanceIdleTimeThreshold) void
setMaxElasticInstancesToStartAtOnce
(int maxElasticInstancesToStartAtOnce) void
setMaxNonBambooInstances
(int maxNonBambooInstances) void
setTotalBuildInQueueThreshold
(int totalBuildInQueueThreshold)
-
Field Details
-
CUSTOM
- See Also:
-
DEFAULT_INSTANCE_MANAGEMENT_CONFIG
-
DISABLED_INSTANCE_MANAGEMENT_CONFIG
-
CUSTOM_INSTANCE_MANAGEMENT_CONFIG
-
PASSIVE_INSTANCE_MANAGEMENT_CONFIG
-
AGGRESSIVE_INSTANCE_MANAGEMENT_CONFIG
-
AUTOMATIC_INSTANCE_MANAGEMENT_CONFIG_LIST
public static final List<AutomaticInstanceManagementConfig> AUTOMATIC_INSTANCE_MANAGEMENT_CONFIG_LIST
-
-
Method Details
-
getConfigurationName
-
isAutomaticInstanceManagementEnabled
public boolean isAutomaticInstanceManagementEnabled() -
getAverageTimeInQueueThreshold
public long getAverageTimeInQueueThreshold() -
setAverageTimeInQueueThreshold
public void setAverageTimeInQueueThreshold(long averageTimeInQueueThreshold) -
getElasticBuildsInQueueThreshold
public int getElasticBuildsInQueueThreshold() -
setElasticBuildsInQueueThreshold
public void setElasticBuildsInQueueThreshold(int elasticBuildsInQueueThreshold) -
getTotalBuildInQueueThreshold
public int getTotalBuildInQueueThreshold() -
setTotalBuildInQueueThreshold
public void setTotalBuildInQueueThreshold(int totalBuildInQueueThreshold) -
getMaxElasticInstancesToStartAtOnce
public int getMaxElasticInstancesToStartAtOnce() -
setMaxElasticInstancesToStartAtOnce
public void setMaxElasticInstancesToStartAtOnce(int maxElasticInstancesToStartAtOnce) -
getInstanceIdleTimeThreshold
public long getInstanceIdleTimeThreshold() -
setInstanceIdleTimeThreshold
public void setInstanceIdleTimeThreshold(long instanceIdleTimeThreshold) -
getMaxNonBambooInstances
public int getMaxNonBambooInstances() -
setMaxNonBambooInstances
public void setMaxNonBambooInstances(int maxNonBambooInstances)
-