Package com.arjuna.ats.arjuna.recovery
Class RecoveryDriver
- java.lang.Object
-
- com.arjuna.ats.arjuna.recovery.RecoveryDriver
-
public class RecoveryDriver extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringASYNC_SCANstatic intDEFAULT_SO_TIMEOUTstatic intDEFAULT_SYNC_RETRYstatic intDEFAULT_SYNC_TIMEOUTstatic StringPINGstatic StringPONGstatic StringSCANstatic StringVERBOSE_ASYNC_SCANstatic StringVERBOSE_SCAN
-
Constructor Summary
Constructors Constructor Description RecoveryDriver(int port)RecoveryDriver(int port, String hostName)RecoveryDriver(int port, String hostName, int timeout)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanasynchronousScan()booleanasynchronousVerboseScan()static booleanisAsyncScan(String request)static booleanisScan(String request)static booleanisVerboseScan(String request)booleansynchronousScan()booleansynchronousScan(int timeout, int retry)booleansynchronousVerboseScan()booleansynchronousVerboseScan(int timeout, int retry)
-
-
-
Field Detail
-
SCAN
public static final String SCAN
- See Also:
- Constant Field Values
-
VERBOSE_SCAN
public static final String VERBOSE_SCAN
- See Also:
- Constant Field Values
-
ASYNC_SCAN
public static final String ASYNC_SCAN
- See Also:
- Constant Field Values
-
VERBOSE_ASYNC_SCAN
public static final String VERBOSE_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
-
-
Method Detail
-
isScan
public static boolean isScan(String request)
-
isAsyncScan
public static boolean isAsyncScan(String request)
-
isVerboseScan
public static boolean isVerboseScan(String request)
-
synchronousScan
public final boolean synchronousScan() throws UnknownHostException, SocketException, IOException
-
synchronousVerboseScan
public final boolean synchronousVerboseScan() throws IOException- Throws:
IOException
-
synchronousScan
public final boolean synchronousScan(int timeout, int retry) throws UnknownHostException, SocketException, IOException
-
synchronousVerboseScan
public final boolean synchronousVerboseScan(int timeout, int retry) throws IOException- Throws:
IOException
-
asynchronousScan
public final boolean asynchronousScan() throws UnknownHostException, SocketException, IOException
-
asynchronousVerboseScan
public final boolean asynchronousVerboseScan() throws IOException- Throws:
IOException
-
-