public class RecoveryDriver extends Object
| Modifier and Type | Field and Description |
|---|---|
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 |
static String |
VERBOSE_ASYNC_SCAN |
static String |
VERBOSE_SCAN |
| Constructor and Description |
|---|
RecoveryDriver(int port) |
RecoveryDriver(int port,
String hostName) |
RecoveryDriver(int port,
String hostName,
int timeout) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
asynchronousScan() |
static boolean |
isAsyncScan(String request) |
static boolean |
isScan(String request) |
static boolean |
isVerboseScan(String request) |
boolean |
synchronousScan() |
boolean |
synchronousScan(int timeout,
int retry) |
public static final String SCAN
public static final String VERBOSE_SCAN
public static final String ASYNC_SCAN
public static final String VERBOSE_ASYNC_SCAN
public static final String PING
public static final String PONG
public static final int DEFAULT_SYNC_TIMEOUT
public static final int DEFAULT_SYNC_RETRY
public static final int DEFAULT_SO_TIMEOUT
public RecoveryDriver(int port)
public RecoveryDriver(int port,
String hostName)
public RecoveryDriver(int port,
String hostName,
int timeout)
public static boolean isScan(String request)
public static boolean isAsyncScan(String request)
public static boolean isVerboseScan(String request)
public final boolean synchronousScan()
throws UnknownHostException,
SocketException,
IOException
public final boolean synchronousScan(int timeout,
int retry)
throws UnknownHostException,
SocketException,
IOException
public final boolean asynchronousScan()
throws UnknownHostException,
SocketException,
IOException
Copyright © 2019 JBoss by Red Hat. All rights reserved.