public class NodeConnectionsService extends AbstractLifecycleComponent
NodesFaultDetection
. Master fault detection
is done by MasterFaultDetection
.Modifier and Type | Field and Description |
---|---|
static Setting<TimeValue> |
CLUSTER_NODE_RECONNECT_INTERVAL_SETTING |
lifecycle
deprecationLogger, logger, settings
Constructor and Description |
---|
NodeConnectionsService(Settings settings,
ThreadPool threadPool,
TransportService transportService) |
Modifier and Type | Method and Description |
---|---|
void |
connectToNodes(java.util.List<DiscoveryNode> addedNodes) |
void |
disconnectFromNodes(java.util.List<DiscoveryNode> removedNodes) |
protected void |
doClose() |
protected void |
doStart() |
protected void |
doStop() |
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stop
logDeprecatedSetting, logRemovedSetting, nodeName
@Inject public NodeConnectionsService(Settings settings, ThreadPool threadPool, TransportService transportService)
public void connectToNodes(java.util.List<DiscoveryNode> addedNodes)
public void disconnectFromNodes(java.util.List<DiscoveryNode> removedNodes)
protected void doStart()
doStart
in class AbstractLifecycleComponent
protected void doStop()
doStop
in class AbstractLifecycleComponent
protected void doClose()
doClose
in class AbstractLifecycleComponent