com.arjuna.ats.arjuna.recovery
Class RecoveryDriver

java.lang.Object
  extended by com.arjuna.ats.arjuna.recovery.RecoveryDriver

public class RecoveryDriver
extends java.lang.Object


Field Summary
static java.lang.String ASYNC_SCAN
           
static int DEFAULT_SO_TIMEOUT
           
static int DEFAULT_SYNC_RETRY
           
static int DEFAULT_SYNC_TIMEOUT
           
static java.lang.String PING
           
static java.lang.String PONG
           
static java.lang.String SCAN
           
 
Constructor Summary
RecoveryDriver(int port)
           
RecoveryDriver(int port, java.lang.String hostName)
           
RecoveryDriver(int port, java.lang.String hostName, int timeout)
           
 
Method Summary
 boolean asynchronousScan()
           
 boolean synchronousScan()
           
 boolean synchronousScan(int timeout, int retry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCAN

public static final java.lang.String SCAN
See Also:
Constant Field Values

ASYNC_SCAN

public static final java.lang.String ASYNC_SCAN
See Also:
Constant Field Values

PING

public static final java.lang.String PING
See Also:
Constant Field Values

PONG

public static final java.lang.String PONG
See Also:
Constant Field Values

DEFAULT_SYNC_TIMEOUT

public static final int DEFAULT_SYNC_TIMEOUT

DEFAULT_SYNC_RETRY

public static final int DEFAULT_SYNC_RETRY
See Also:
Constant Field Values

DEFAULT_SO_TIMEOUT

public static final int DEFAULT_SO_TIMEOUT
See Also:
Constant Field Values
Constructor Detail

RecoveryDriver

public RecoveryDriver(int port)

RecoveryDriver

public RecoveryDriver(int port,
                      java.lang.String hostName)

RecoveryDriver

public RecoveryDriver(int port,
                      java.lang.String hostName,
                      int timeout)
Method Detail

synchronousScan

public final boolean synchronousScan()
                              throws java.net.UnknownHostException,
                                     java.net.SocketException,
                                     java.io.IOException
Throws:
java.net.UnknownHostException
java.net.SocketException
java.io.IOException

synchronousScan

public final boolean synchronousScan(int timeout,
                                     int retry)
                              throws java.net.UnknownHostException,
                                     java.net.SocketException,
                                     java.io.IOException
Throws:
java.net.UnknownHostException
java.net.SocketException
java.io.IOException

asynchronousScan

public final boolean asynchronousScan()
                               throws java.net.UnknownHostException,
                                      java.net.SocketException,
                                      java.io.IOException
Throws:
java.net.UnknownHostException
java.net.SocketException
java.io.IOException