com.atlassian.bamboo.agent.elastic.server
Interface RemoteElasticInstance
- All Known Implementing Classes:
- RemoteElasticInstanceImpl
public interface RemoteElasticInstance
start
void start()
terminate
void terminate()
getState
RemoteElasticInstanceState getState()
getInstance
com.atlassian.aws.ec2.RemoteEC2Instance getInstance()
getConfiguration
@NotNull
ElasticImageConfiguration getConfiguration()
getRemoteAgent
long getRemoteAgent()
setRemoteAgent
void setRemoteAgent(long agentId)
- Parameters:
agentId
- id of corresponding ElasticAgentDefinition
.
isShutdownable
boolean isShutdownable()
isAgentLoading
boolean isAgentLoading()
setAgentLoading
void setAgentLoading(boolean agentLoading)
triggerDelayedTermination
void triggerDelayedTermination(long delaySeconds)
- Triggers delayed termination of elastic instance.
Termination is performed asynchronously.
- Parameters:
delaySeconds
- Number of secods to wait before terminating instance.
interruptDelayedTermination
void interruptDelayedTermination()
- Interrupts delayed termination process.
getAttachedVolumes
@Nullable
java.util.Collection<com.atlassian.aws.ec2.EBSVolume> getAttachedVolumes()
Copyright © 2010 Atlassian. All Rights Reserved.