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.elasticsearch.discovery.zen.fd.FaultDetection.FDConnectionListener |
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 |
deprecationLogger, logger, settings
Constructor and Description |
---|
FaultDetection(Settings settings,
ThreadPool threadPool,
TransportService transportService,
ClusterName clusterName) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
logDeprecatedSetting, logRemovedSetting, nodeName
public static final String SETTING_CONNECT_ON_NETWORK_DISCONNECT
public static final String SETTING_PING_INTERVAL
public static final String SETTING_PING_TIMEOUT
public static final String SETTING_PING_RETRIES
public static final String SETTING_REGISTER_CONNECTION_LISTENER
protected final ThreadPool threadPool
protected final ClusterName clusterName
protected final TransportService transportService
protected final boolean registerConnectionListener
protected final org.elasticsearch.discovery.zen.fd.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)
Copyright © 2009–2016. All rights reserved.