public class ElasticAgentTunnelManagerImpl extends Object implements ElasticAgentTunnelManager
| Constructor and Description |
|---|
ElasticAgentTunnelManagerImpl(URL baseURL,
com.google.common.base.Supplier<SocketFactory> socketFactory,
com.atlassian.bamboo.setup.BootstrapManager bootstrapManager,
ElasticAgentTunnelPorts ports) |
| Modifier and Type | Method and Description |
|---|---|
Collection<com.atlassian.tunnel.tunnel.client.Tunnel> |
startBambooTunnels(com.atlassian.aws.ec2.RemoteEC2Instance ec2Instance,
int tunnelTimeoutMinutes)
Starts TCP tunnels to an EC2 instance.
|
public ElasticAgentTunnelManagerImpl(URL baseURL, com.google.common.base.Supplier<SocketFactory> socketFactory, com.atlassian.bamboo.setup.BootstrapManager bootstrapManager, ElasticAgentTunnelPorts ports)
@NotNull public Collection<com.atlassian.tunnel.tunnel.client.Tunnel> startBambooTunnels(@NotNull com.atlassian.aws.ec2.RemoteEC2Instance ec2Instance, int tunnelTimeoutMinutes) throws URISyntaxException
ElasticAgentTunnelManagerstartBambooTunnels in interface ElasticAgentTunnelManagerec2Instance - instance with tunnel servertunnelTimeoutMinutes - time interval after we can assume that the tunnel cannot be initialisedURISyntaxExceptionCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.