public class NodesFaultDetection extends FaultDetection
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
NodesFaultDetection.Listener |
static class |
NodesFaultDetection.PingRequest |
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static String |
PING_ACTION_NAME |
clusterName, connectionListener, connectOnNetworkDisconnect, pingInterval, pingRetryCount, pingRetryTimeout, registerConnectionListener, SETTING_CONNECT_ON_NETWORK_DISCONNECT, SETTING_PING_INTERVAL, SETTING_PING_RETRIES, SETTING_PING_TIMEOUT, SETTING_REGISTER_CONNECTION_LISTENER, threadPool, transportServicedeprecationLogger, logger, settings| コンストラクタと説明 |
|---|
NodesFaultDetection(Settings settings,
ThreadPool threadPool,
TransportService transportService,
ClusterName clusterName) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
addListener(NodesFaultDetection.Listener listener) |
void |
close() |
protected void |
handleTransportDisconnect(DiscoveryNode node)
This method will be called when the
TransportService raised a node disconnected event |
void |
removeListener(NodesFaultDetection.Listener listener) |
void |
setLocalNode(DiscoveryNode localNode) |
NodesFaultDetection |
stop()
stops all pinging
|
void |
updateNodesAndPing(ClusterState clusterState)
make sure that nodes in clusterState are pinged.
|
logDeprecatedSetting, logRemovedSetting, nodeNamepublic NodesFaultDetection(Settings settings, ThreadPool threadPool, TransportService transportService, ClusterName clusterName)
public void setLocalNode(DiscoveryNode localNode)
public void addListener(NodesFaultDetection.Listener listener)
public void removeListener(NodesFaultDetection.Listener listener)
public void updateNodesAndPing(ClusterState clusterState)
public NodesFaultDetection stop()
public void close()
close クラス内 FaultDetectionprotected void handleTransportDisconnect(DiscoveryNode node)
FaultDetectionTransportService raised a node disconnected eventCopyright © 2009–2016. All rights reserved.