Package com.arjuna.ats.arjuna.recovery
Class RecoveryDriver
java.lang.Object
com.arjuna.ats.arjuna.recovery.RecoveryDriver
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRecoveryDriver(int port) RecoveryDriver(int port, String hostName) RecoveryDriver(int port, String hostName, int timeout) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanfinal booleanstatic booleanisAsyncScan(String request) static booleanstatic booleanisVerboseScan(String request) final booleanfinal booleansynchronousScan(int timeout, int retry) final booleanfinal booleansynchronousVerboseScan(int timeout, int retry)
-
Field Details
-
SCAN
- See Also:
-
VERBOSE_SCAN
- See Also:
-
ASYNC_SCAN
- See Also:
-
VERBOSE_ASYNC_SCAN
- See Also:
-
PING
- See Also:
-
PONG
- See Also:
-
DEFAULT_SYNC_TIMEOUT
public static final int DEFAULT_SYNC_TIMEOUT -
DEFAULT_SYNC_RETRY
public static final int DEFAULT_SYNC_RETRY- See Also:
-
DEFAULT_SO_TIMEOUT
public static final int DEFAULT_SO_TIMEOUT- See Also:
-
-
Constructor Details
-
RecoveryDriver
public RecoveryDriver(int port) -
RecoveryDriver
-
RecoveryDriver
-
-
Method Details
-
isScan
-
isAsyncScan
-
isVerboseScan
-
synchronousScan
-
synchronousVerboseScan
- Throws:
IOException
-
synchronousScan
public final boolean synchronousScan(int timeout, int retry) throws UnknownHostException, SocketException, IOException -
synchronousVerboseScan
- Throws:
IOException
-
asynchronousScan
-
asynchronousVerboseScan
- Throws:
IOException
-