Package org.elasticsearch.discovery.zen
Class FaultDetection
org.elasticsearch.discovery.zen.FaultDetection
- All Implemented Interfaces:
,
- Direct Known Subclasses:
MasterFaultDetection
,NodesFaultDetection
public abstract class FaultDetection
extends
implements
A base class for
MasterFaultDetection
& NodesFaultDetection
,
making sure both use the same setting.-
Field Summary
Modifier and TypeFieldDescriptionprotected ClusterName
static >
protected org.elasticsearch.discovery.zen.FaultDetection.FDConnectionListener
protected boolean
static Setting<org.elasticsearch.core.TimeValue>
static >
static Setting<org.elasticsearch.core.TimeValue>
protected org.elasticsearch.core.TimeValue
protected int
protected org.elasticsearch.core.TimeValue
static >
protected boolean
protected ThreadPool
protected TransportService
-
Constructor Summary
ConstructorDescriptionFaultDetection(Settings settings, ThreadPool threadPool, TransportService transportService, ClusterName clusterName)
-
Method Summary
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Field Details
-
CONNECT_ON_NETWORK_DISCONNECT_SETTING
public static final > CONNECT_ON_NETWORK_DISCONNECT_SETTING -
PING_INTERVAL_SETTING
-
PING_TIMEOUT_SETTING
-
PING_RETRIES_SETTING
public static final > PING_RETRIES_SETTING -
REGISTER_CONNECTION_LISTENER_SETTING
public static final > REGISTER_CONNECTION_LISTENER_SETTING -
threadPool
-
clusterName
-
transportService
-
registerConnectionListener
protected final boolean registerConnectionListener -
connectionListener
protected final org.elasticsearch.discovery.zen.FaultDetection.FDConnectionListener connectionListener -
connectOnNetworkDisconnect
protected final boolean connectOnNetworkDisconnect -
pingInterval
protected final org.elasticsearch.core.TimeValue pingInterval -
pingRetryTimeout
protected final org.elasticsearch.core.TimeValue pingRetryTimeout -
pingRetryCount
protected final int pingRetryCount
-
-
Constructor Details
-
FaultDetection
public FaultDetection(Settings settings, ThreadPool threadPool, TransportService transportService, ClusterName clusterName)
-
-
Method Details
-
close
public void close()- Specified by:
in interface
- Specified by:
in interface
-