public class TerminateOnTimeoutTunnelStatusTracker
extends com.atlassian.tunnel.tunnel.client.DefaultTunnelStatusTracker
| Constructor and Description |
|---|
TerminateOnTimeoutTunnelStatusTracker(com.atlassian.aws.ec2.RemoteEC2Instance ec2Instance,
int timeout,
TimeUnit timeUnit) |
| Modifier and Type | Method and Description |
|---|---|
void |
onAttempt() |
void |
onFailure(@Nullable Throwable throwable) |
void |
onSuccess() |
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
@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 © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.