com.devexperts.qd.qtp
Class ReconnectHelper

java.lang.Object
  extended by com.devexperts.qd.qtp.ReconnectHelper

public final class ReconnectHelper
extends java.lang.Object

Helper class to manage reconnection delay for message connectors. New instance of this class is require to track reconnection "from scratch" which usually happens when connector is restarted via user action. This class should be used only from com.devexperts.qd.qtp subpackages.


Constructor Summary
ReconnectHelper(long reconnectDelay)
           
 
Method Summary
 void sleepBeforeConnection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReconnectHelper

public ReconnectHelper(long reconnectDelay)
Method Detail

sleepBeforeConnection

public void sleepBeforeConnection()
                           throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException