com.atlassian.bamboo.agent.elastic.server
Class AutomaticInstanceManagementConfig

java.lang.Object
  extended by com.atlassian.bamboo.agent.elastic.server.AutomaticInstanceManagementConfig
All Implemented Interfaces:
java.io.Serializable

public class AutomaticInstanceManagementConfig
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static AutomaticInstanceManagementConfig AGGRESSIVE_INSTANCE_MANAGEMENT_CONFIG
           
static java.lang.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
 long getAverageTimeInQueueThreshold()
           
 java.lang.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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CUSTOM

public static final java.lang.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
Method Detail

getConfigurationName

public java.lang.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)


Copyright © 2012 Atlassian. All Rights Reserved.