com.atlassian.tunnel.tunnel.client
Class DefaultTunnelStatusTracker
java.lang.Object
com.atlassian.tunnel.tunnel.client.DefaultTunnelStatusTracker
- All Implemented Interfaces:
- TunnelStatusTracker
public class DefaultTunnelStatusTracker
- extends Object
- implements TunnelStatusTracker
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
consecutiveFailures
protected int consecutiveFailures
tunnelName
protected String tunnelName
atLeastOneConnectionWasSuccessful
protected boolean atLeastOneConnectionWasSuccessful
DefaultTunnelStatusTracker
public DefaultTunnelStatusTracker()
onAttempt
public void onAttempt()
- Specified by:
onAttempt in interface TunnelStatusTracker
onStreamEnd
public void onStreamEnd()
- Specified by:
onStreamEnd in interface TunnelStatusTracker
onFailure
public void onFailure()
throws InterruptedException
- Specified by:
onFailure in interface TunnelStatusTracker
- Throws:
InterruptedException
onFailure
public void onFailure(@Nullable
Throwable t)
throws InterruptedException
- Specified by:
onFailure in interface TunnelStatusTracker
- Throws:
InterruptedException
setTunnelName
public void setTunnelName(String tunnelName)
- Specified by:
setTunnelName in interface TunnelStatusTracker
onSuccess
public void onSuccess()
- Specified by:
onSuccess in interface TunnelStatusTracker
finish
public void finish()
- Specified by:
finish in interface TunnelStatusTracker
Copyright © 2015 Atlassian. All rights reserved.