java.io.Closeable
, java.lang.AutoCloseable
MasterFaultDetection
, NodesFaultDetection
public abstract class FaultDetection extends AbstractComponent implements java.io.Closeable
MasterFaultDetection
& NodesFaultDetection
,
making sure both use the same setting.Modifier and Type | Field | Description |
---|---|---|
protected ClusterName |
clusterName |
|
static Setting<java.lang.Boolean> |
CONNECT_ON_NETWORK_DISCONNECT_SETTING |
|
protected org.elasticsearch.discovery.zen.FaultDetection.FDConnectionListener |
connectionListener |
|
protected boolean |
connectOnNetworkDisconnect |
|
static Setting<TimeValue> |
PING_INTERVAL_SETTING |
|
static Setting<java.lang.Integer> |
PING_RETRIES_SETTING |
|
static Setting<TimeValue> |
PING_TIMEOUT_SETTING |
|
protected TimeValue |
pingInterval |
|
protected int |
pingRetryCount |
|
protected TimeValue |
pingRetryTimeout |
|
static Setting<java.lang.Boolean> |
REGISTER_CONNECTION_LISTENER_SETTING |
|
protected boolean |
registerConnectionListener |
|
protected ThreadPool |
threadPool |
|
protected TransportService |
transportService |
deprecationLogger, logger, settings
Constructor | Description |
---|---|
FaultDetection(Settings settings,
ThreadPool threadPool,
TransportService transportService,
ClusterName clusterName) |
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
logDeprecatedSetting, logRemovedSetting, nodeName
public static final Setting<java.lang.Boolean> CONNECT_ON_NETWORK_DISCONNECT_SETTING
public static final Setting<java.lang.Integer> PING_RETRIES_SETTING
public static final Setting<java.lang.Boolean> REGISTER_CONNECTION_LISTENER_SETTING
protected final ThreadPool threadPool
protected final ClusterName clusterName
protected final TransportService transportService
protected final boolean registerConnectionListener
protected final org.elasticsearch.discovery.zen.FaultDetection.FDConnectionListener connectionListener
protected final boolean connectOnNetworkDisconnect
protected final TimeValue pingInterval
protected final TimeValue pingRetryTimeout
protected final int pingRetryCount
public FaultDetection(Settings settings, ThreadPool threadPool, TransportService transportService, ClusterName clusterName)