public abstract class FaultDetection extends AbstractComponent
MasterFaultDetection &
NodesFaultDetection, making sure both use the same setting.
| Modifier and Type | Field and Description |
|---|---|
protected ClusterName |
clusterName
|
protected org |
connectionListener
|
protected boolean |
connectOnNetworkDisconnect
|
protected TimeValue |
pingInterval
|
protected int |
pingRetryCount
|
protected TimeValue |
pingRetryTimeout
|
protected boolean |
registerConnectionListener
|
static String |
SETTING_CONNECT_ON_NETWORK_DISCONNECT
|
static String |
SETTING_PING_INTERVAL
|
static String |
SETTING_PING_RETRIES
|
static String |
SETTING_PING_TIMEOUT
|
static String |
SETTING_REGISTER_CONNECTION_LISTENER
|
protected ThreadPool |
threadPool
|
protected TransportService |
transportService
|
componentSettings, logger, settings| Constructor and Description |
|---|
FaultDetection(Settings
|
public static final StringSETTING_CONNECT_ON_NETWORK_DISCONNECT
public static final StringSETTING_PING_INTERVAL
public static final StringSETTING_PING_TIMEOUT
public static final StringSETTING_PING_RETRIES
public static final StringSETTING_REGISTER_CONNECTION_LISTENER
protected final ThreadPoolthreadPool
protected final ClusterNameclusterName
protected final TransportServicetransportService
protected final boolean registerConnectionListener
protected final org.elasticsearch .discovery .zen .fd .FaultDetection .FDConnectionListener connectionListener
protected final boolean connectOnNetworkDisconnect
protected final TimeValuepingInterval
protected final TimeValuepingRetryTimeout
protected final int pingRetryCount
public FaultDetection(Settingssettings, ThreadPool threadPool, TransportService transportService, ClusterName clusterName)