Class AutomaticInstanceManagementConfig
- java.lang.Object
-
- com.atlassian.bamboo.agent.elastic.server.AutomaticInstanceManagementConfig
-
- All Implemented Interfaces:
Serializable
public class AutomaticInstanceManagementConfig extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static AutomaticInstanceManagementConfig
AGGRESSIVE_INSTANCE_MANAGEMENT_CONFIG
static List<AutomaticInstanceManagementConfig>
AUTOMATIC_INSTANCE_MANAGEMENT_CONFIG_LIST
static String
CUSTOM
static AutomaticInstanceManagementConfig
CUSTOM_INSTANCE_MANAGEMENT_CONFIG
static AutomaticInstanceManagementConfig
DEFAULT_INSTANCE_MANAGEMENT_CONFIG
static AutomaticInstanceManagementConfig
DISABLED_INSTANCE_MANAGEMENT_CONFIG
static AutomaticInstanceManagementConfig
PASSIVE_INSTANCE_MANAGEMENT_CONFIG
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getAverageTimeInQueueThreshold()
String
getConfigurationName()
int
getElasticBuildsInQueueThreshold()
long
getInstanceIdleTimeThreshold()
int
getMaxElasticInstancesToStartAtOnce()
int
getMaxNonBambooInstances()
int
getTotalBuildInQueueThreshold()
boolean
isAutomaticInstanceManagementEnabled()
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 Detail
-
CUSTOM
public static final String CUSTOM
- See Also:
- Constant Field Values
-
DEFAULT_INSTANCE_MANAGEMENT_CONFIG
public static final AutomaticInstanceManagementConfig DEFAULT_INSTANCE_MANAGEMENT_CONFIG
-
DISABLED_INSTANCE_MANAGEMENT_CONFIG
public static final AutomaticInstanceManagementConfig DISABLED_INSTANCE_MANAGEMENT_CONFIG
-
CUSTOM_INSTANCE_MANAGEMENT_CONFIG
public static final AutomaticInstanceManagementConfig CUSTOM_INSTANCE_MANAGEMENT_CONFIG
-
PASSIVE_INSTANCE_MANAGEMENT_CONFIG
public static final AutomaticInstanceManagementConfig PASSIVE_INSTANCE_MANAGEMENT_CONFIG
-
AGGRESSIVE_INSTANCE_MANAGEMENT_CONFIG
public static final AutomaticInstanceManagementConfig AGGRESSIVE_INSTANCE_MANAGEMENT_CONFIG
-
AUTOMATIC_INSTANCE_MANAGEMENT_CONFIG_LIST
public static final List<AutomaticInstanceManagementConfig> AUTOMATIC_INSTANCE_MANAGEMENT_CONFIG_LIST
-
-
Method Detail
-
getConfigurationName
public String 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)
-
-