Package com.arjuna.ats.arjuna.recovery
Class RecoveryDriver
java.lang.Object
com.arjuna.ats.arjuna.recovery.RecoveryDriver
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRecoveryDriver
(int port) RecoveryDriver
(int port, String hostName) RecoveryDriver
(int port, String hostName, int timeout) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
final boolean
static boolean
isAsyncScan
(String request) static boolean
static boolean
isVerboseScan
(String request) final boolean
final boolean
synchronousScan
(int timeout, int retry) final boolean
final boolean
synchronousVerboseScan
(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
-