com.arjuna.ats.arjuna.recovery
Class RecoveryDriver

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

public class RecoveryDriver
extends Object


Field Summary
static String ASYNC_SCAN
           
static int DEFAULT_SO_TIMEOUT
           
static int DEFAULT_SYNC_RETRY
           
static int DEFAULT_SYNC_TIMEOUT
           
static String PING
           
static String PONG
           
static String SCAN
           
 
Constructor Summary
RecoveryDriver(int port)
           
RecoveryDriver(int port, String hostName)
           
RecoveryDriver(int port, 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 String SCAN
See Also:
Constant Field Values

ASYNC_SCAN

public static final String ASYNC_SCAN
See Also:
Constant Field Values

PING

public static final String PING
See Also:
Constant Field Values

PONG

public static final 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,
                      String hostName)

RecoveryDriver

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

synchronousScan

public final boolean synchronousScan()
                              throws UnknownHostException,
                                     SocketException,
                                     IOException
Throws:
UnknownHostException
SocketException
IOException

synchronousScan

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

asynchronousScan

public final boolean asynchronousScan()
                               throws UnknownHostException,
                                      SocketException,
                                      IOException
Throws:
UnknownHostException
SocketException
IOException


Copyright © 2012. All Rights Reserved.