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(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.TunnelStatusTracker
onAttempt
in class com.atlassian.tunnel.tunnel.client.DefaultTunnelStatusTracker
public void onFailure(@Nullable Throwable throwable) throws InterruptedException
onFailure
in interface com.atlassian.tunnel.tunnel.client.TunnelStatusTracker
onFailure
in class com.atlassian.tunnel.tunnel.client.DefaultTunnelStatusTracker
InterruptedException
public void onSuccess()
onSuccess
in interface com.atlassian.tunnel.tunnel.client.TunnelStatusTracker
onSuccess
in class com.atlassian.tunnel.tunnel.client.DefaultTunnelStatusTracker
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.