public class ElasticAgentTunnelManagerImpl extends Object implements ElasticAgentTunnelManager
Constructor and Description |
---|
ElasticAgentTunnelManagerImpl(URL baseURL,
Supplier<SocketFactory> socketFactory,
BambooBrokerService brokerService,
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, Supplier<SocketFactory> socketFactory, BambooBrokerService brokerService, ElasticAgentTunnelPorts ports)
@NotNull public Collection<com.atlassian.tunnel.tunnel.client.Tunnel> startBambooTunnels(@NotNull com.atlassian.aws.ec2.RemoteEC2Instance ec2Instance, int tunnelTimeoutMinutes)
ElasticAgentTunnelManager
startBambooTunnels
in interface ElasticAgentTunnelManager
ec2Instance
- instance with tunnel servertunnelTimeoutMinutes
- time interval after we can assume that the tunnel cannot be initialisedCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.