Uses of Interface
com.atlassian.bamboo.agent.elastic.server.RemoteElasticInstance
-
-
Uses of RemoteElasticInstance in com.atlassian.bamboo.agent.elastic.server
Classes in com.atlassian.bamboo.agent.elastic.server that implement RemoteElasticInstance Modifier and Type Class Description class
RemoteElasticInstanceImpl
Methods in com.atlassian.bamboo.agent.elastic.server that return RemoteElasticInstance Modifier and Type Method Description @Nullable RemoteElasticInstance
ElasticInstanceManager. getElasticRemoteAgentByInstanceId(String instanceId)
Retrieve elastic instance of the given ID.@Nullable RemoteElasticInstance
ElasticInstanceManagerImpl. getElasticRemoteAgentByInstanceId(String instanceId)
RemoteElasticInstance
ElasticInstanceManager. newElasticAgent(RemoteElasticInstanceListener listener, com.atlassian.aws.AWSAccount awsAccount, AgentManager agentManager, ElasticImageConfiguration elasticImageConfiguration, com.atlassian.aws.ec2.InstanceLaunchConfigurationBuilder instanceLaunchConfigurationBuilder)
RemoteElasticInstance
ElasticInstanceManagerImpl. newElasticAgent(RemoteElasticInstanceListener listener, com.atlassian.aws.AWSAccount awsAccount, @NotNull AgentManager agentManager, @NotNull ElasticImageConfiguration elasticImageConfiguration, @NotNull com.atlassian.aws.ec2.InstanceLaunchConfigurationBuilder instanceLaunchConfigurationBuilder)
RemoteElasticInstance
ElasticInstanceManager. restoreElasticAgent(@NotNull ElasticAgentDefinition elasticAgentDefinition, @Nullable ElasticTunnelDefinition elasticTunnelDefinition, @NotNull com.amazonaws.services.ec2.model.Instance instance, @NotNull RemoteElasticInstanceListener listener, @NotNull com.atlassian.aws.AWSAccount awsAccount, @NotNull AgentManager agentManager, @NotNull com.atlassian.aws.ec2.InstanceLaunchConfigurationBuilder instanceLaunchConfigurationBuilder)
After Bamboo server restart, reconnect to elastic agent.RemoteElasticInstance
ElasticInstanceManagerImpl. restoreElasticAgent(@NotNull ElasticAgentDefinition elasticAgentDefinition, @Nullable ElasticTunnelDefinition elasticTunnelDefinition, @NotNull com.amazonaws.services.ec2.model.Instance instance, @NotNull RemoteElasticInstanceListener listener, @NotNull com.atlassian.aws.AWSAccount awsAccount, @NotNull AgentManager agentManager, @NotNull com.atlassian.aws.ec2.InstanceLaunchConfigurationBuilder instanceLaunchConfigurationBuilder)
Methods in com.atlassian.bamboo.agent.elastic.server that return types with arguments of type RemoteElasticInstance Modifier and Type Method Description com.google.common.collect.SetMultimap<ElasticImageConfiguration,RemoteElasticInstance>
ElasticInstanceManager. getAllElasticAgentsAsMap()
Returns all elastic instances in aSetMultimap
, keyed by theElasticImageConfiguration
com.google.common.collect.SetMultimap<ElasticImageConfiguration,RemoteElasticInstance>
ElasticInstanceManagerImpl. getAllElasticAgentsAsMap()
List<RemoteElasticInstance>
ElasticInstanceManager. getAllElasticRemoteAgents()
Returns all elastic instances.List<RemoteElasticInstance>
ElasticInstanceManagerImpl. getAllElasticRemoteAgents()
@NotNull List<RemoteElasticInstance>
ElasticInstanceManager. getElasticRemoteAgents()
Retrieve a readonly list of any currently existing EC2 instances@NotNull List<RemoteElasticInstance>
ElasticInstanceManagerImpl. getElasticRemoteAgents()
@NotNull List<RemoteElasticInstance>
ElasticInstanceManager. getElasticRemoteAgentsByConfiguration(long id)
@NotNull List<RemoteElasticInstance>
ElasticInstanceManager. getElasticRemoteAgentsByConfiguration(@NotNull ElasticImageConfiguration elasticImageConfiguration)
@NotNull List<RemoteElasticInstance>
ElasticInstanceManagerImpl. getElasticRemoteAgentsByConfiguration(long id)
@NotNull List<RemoteElasticInstance>
ElasticInstanceManagerImpl. getElasticRemoteAgentsByConfiguration(@NotNull ElasticImageConfiguration elasticImageConfiguration)
@NotNull List<RemoteElasticInstance>
ElasticInstanceManager. getInstancesWithStartingAgents()
Returns those elastic instances that have already started but their agents have not yet connected to the bamboo server.@NotNull List<RemoteElasticInstance>
ElasticInstanceManagerImpl. getInstancesWithStartingAgents()
@NotNull List<RemoteElasticInstance>
ElasticInstanceManager. getRequestedElasticRemoteAgents()
Returns the elastic instances which have been requested but not yet identified.@NotNull List<RemoteElasticInstance>
ElasticInstanceManagerImpl. getRequestedElasticRemoteAgents()
@NotNull List<RemoteElasticInstance>
ElasticInstanceManager. getStartingElasticInstances()
Return the elastic instances which have been identified but not started up yet, i.e.@NotNull List<RemoteElasticInstance>
ElasticInstanceManagerImpl. getStartingElasticInstances()
Methods in com.atlassian.bamboo.agent.elastic.server with parameters of type RemoteElasticInstance Modifier and Type Method Description int
RemoteElasticAgentStartTimeComparator. compare(RemoteElasticInstance agent1, RemoteElasticInstance agent2)
int
ShutdownOrderComparator. compare(@NotNull RemoteElasticInstance o1, @NotNull RemoteElasticInstance o2)
void
ElasticInstanceManagementListener. elasticInstanceStateChanged(RemoteElasticInstance remoteElasticInstance, RemoteElasticInstanceState oldState, RemoteElasticInstanceState newState)
void
RemoteElasticInstanceListener. elasticInstanceStateChanged(RemoteElasticInstance remoteElasticInstance, RemoteElasticInstanceState oldState, RemoteElasticInstanceState newState)
@NotNull io.atlassian.fugue.Either<ElasticFunctionalityFacade.Ec2PrivateKeyValidationStatus,Optional<String>>
Ec2PrivateKeyHandlerImpl. getPassword(RemoteElasticInstance instance)
@NotNull io.atlassian.fugue.Either<ElasticFunctionalityFacade.Ec2PrivateKeyValidationStatus,Optional<String>>
ElasticFunctionalityFacade. getPassword(RemoteElasticInstance instance)
@NotNull io.atlassian.fugue.Either<ElasticFunctionalityFacade.Ec2PrivateKeyValidationStatus,Optional<String>>
ElasticFunctionalityFacadeImpl. getPassword(RemoteElasticInstance instance)
void
ElasticInstanceManager. onInstanceIdentified(@NotNull RemoteElasticInstance remoteElasticInstance)
Tell the manager that the instance is up and runningvoid
ElasticInstanceManagerImpl. onInstanceIdentified(@NotNull RemoteElasticInstance instance)
void
ElasticInstanceManager. onInstanceRunning(@NotNull RemoteElasticInstance remoteElasticInstance)
Invoked when the instance enters the 'running' statevoid
ElasticInstanceManagerImpl. onInstanceRunning(@NotNull RemoteElasticInstance instance)
void
ElasticInstanceManager. registerElasticAgentStopped(@NotNull RemoteElasticInstance instance)
Remove and EC2 instance from the "currently Running mapvoid
ElasticInstanceManagerImpl. registerElasticAgentStopped(@NotNull RemoteElasticInstance instance)
void
ElasticFunctionalityFacade. shutdownInstance(@NotNull RemoteElasticInstance elasticInstance)
void
ElasticFunctionalityFacadeImpl. shutdownInstance(@NotNull RemoteElasticInstance elasticInstance)
Method parameters in com.atlassian.bamboo.agent.elastic.server with type arguments of type RemoteElasticInstance Modifier and Type Method Description protected void
ElasticFunctionalityFacadeImpl. attemptShutdownInstances(Collection<RemoteElasticInstance> instances, int agentsToShutdown, ElasticImageConfiguration elasticImageConfiguration)
-
Uses of RemoteElasticInstance in com.atlassian.bamboo.agent.managed.schedule
Methods in com.atlassian.bamboo.agent.managed.schedule that return types with arguments of type RemoteElasticInstance Modifier and Type Method Description @NotNull Collection<RemoteElasticInstance>
ManagedAgentContainersOptimizer. getElasticAgentsToStop()
Returns a collection of currently running elastic agents that should be stopped.@NotNull Collection<RemoteElasticInstance>
ManagedAgentContainersOptimizerImpl. getElasticAgentsToStop()
-
Uses of RemoteElasticInstance in com.atlassian.bamboo.rest
Methods in com.atlassian.bamboo.rest that return types with arguments of type RemoteElasticInstance Modifier and Type Method Description List<RemoteElasticInstance>
ListRunningInstances. getRunningElasticInstances()
-
Uses of RemoteElasticInstance in com.atlassian.bamboo.ww2.actions.admin.elastic
Methods in com.atlassian.bamboo.ww2.actions.admin.elastic that return RemoteElasticInstance Modifier and Type Method Description RemoteElasticInstance
ViewElasticInstanceAction. getAgent()
Methods in com.atlassian.bamboo.ww2.actions.admin.elastic that return types with arguments of type RemoteElasticInstance Modifier and Type Method Description List<RemoteElasticInstance>
ViewInstancesForConfigurationAction. getElasticInstances()
List<RemoteElasticInstance>
ManageElasticInstancesAction. getRequestedElasticInstances()
List<RemoteElasticInstance>
ManageElasticInstancesAction. getRunningElasticInstances()
Methods in com.atlassian.bamboo.ww2.actions.admin.elastic with parameters of type RemoteElasticInstance Modifier and Type Method Description @Nullable Double
ElasticUIBean. getInstancePrice(RemoteElasticInstance instance)
@Nullable Double
ElasticUIBeanImpl. getInstancePrice(RemoteElasticInstance instance)
-
Uses of RemoteElasticInstance in com.atlassian.bamboo.ww2.actions.agent
Methods in com.atlassian.bamboo.ww2.actions.agent that return types with arguments of type RemoteElasticInstance Modifier and Type Method Description @NotNull Collection<RemoteElasticInstance>
AgentJsonProvider. getRemoteElasticInstances()
Constructors in com.atlassian.bamboo.ww2.actions.agent with parameters of type RemoteElasticInstance Constructor Description ElasticImageDecorator(RemoteElasticInstance from)
-