public class TerminateOnTimeoutTunnelStatusTracker
extends com.atlassian.tunnel.tunnel.client.DefaultTunnelStatusTracker
| Constructor and Description |
|---|
TerminateOnTimeoutTunnelStatusTracker(com.atlassian.aws.ec2.RemoteEC2Instance ec2Instance,
int timeout,
TimeUnit timeUnit) |
public TerminateOnTimeoutTunnelStatusTracker(com.atlassian.aws.ec2.RemoteEC2Instance ec2Instance,
int timeout,
TimeUnit timeUnit)
public void onAttempt()
onAttempt in interface com.atlassian.tunnel.tunnel.client.TunnelStatusTrackeronAttempt in class com.atlassian.tunnel.tunnel.client.DefaultTunnelStatusTrackerpublic void onFailure(@Nullable
Throwable throwable)
throws InterruptedException
onFailure in interface com.atlassian.tunnel.tunnel.client.TunnelStatusTrackeronFailure in class com.atlassian.tunnel.tunnel.client.DefaultTunnelStatusTrackerInterruptedExceptionpublic void onSuccess()
onSuccess in interface com.atlassian.tunnel.tunnel.client.TunnelStatusTrackeronSuccess in class com.atlassian.tunnel.tunnel.client.DefaultTunnelStatusTrackerCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.