|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RemoteElasticInstance
Method Summary | |
---|---|
java.util.Collection<com.atlassian.aws.ec2.EBSVolume> |
getAttachedVolumes()
|
ElasticImageConfiguration |
getConfiguration()
|
com.atlassian.aws.ec2.RemoteEC2Instance |
getInstance()
|
long |
getRemoteAgent()
|
RemoteElasticInstanceState |
getState()
|
void |
interruptDelayedTermination()
Interrupts delayed termination process. |
boolean |
isAgentLoading()
|
boolean |
isBeingTerminated()
|
boolean |
isShutdownable()
Returns true if the instance is in a state that allows shutdown. |
void |
setAgentLoading(boolean agentLoading)
|
void |
setRemoteAgent(long agentId)
|
void |
start()
|
void |
terminate()
|
void |
triggerDelayedTermination(long delaySeconds)
Triggers delayed termination of elastic instance. |
Method Detail |
---|
void start()
void terminate()
RemoteElasticInstanceState getState()
com.atlassian.aws.ec2.RemoteEC2Instance getInstance()
@NotNull ElasticImageConfiguration getConfiguration()
long getRemoteAgent()
void setRemoteAgent(long agentId)
agentId
- id of corresponding ElasticAgentDefinition
.boolean isShutdownable()
boolean isAgentLoading()
void setAgentLoading(boolean agentLoading)
void triggerDelayedTermination(long delaySeconds)
delaySeconds
- Number of secods to wait before terminating instance.void interruptDelayedTermination()
@Nullable java.util.Collection<com.atlassian.aws.ec2.EBSVolume> getAttachedVolumes()
boolean isBeingTerminated()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |