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 |
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() |
boolean |
synchronousScan() |
boolean |
synchronousScan(int timeout,
int retry) |
public static final String SCAN
public static final String 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 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 © 2013 JBoss by Red Hat. All Rights Reserved.