java.io.Closeable, java.lang.AutoCloseable, LifecycleComponent, Releasablepublic class NodeConnectionsService extends AbstractLifecycleComponent
NodesFaultDetection. Master fault detection
is done by MasterFaultDetection.| Modifier and Type | Field | Description |
|---|---|---|
static Setting<TimeValue> |
CLUSTER_NODE_RECONNECT_INTERVAL_SETTING |
deprecationLogger, logger, settingslifecycle| Constructor | Description |
|---|---|
NodeConnectionsService(Settings settings,
ThreadPool threadPool,
TransportService transportService) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
connectToNodes(DiscoveryNodes discoveryNodes) |
|
void |
disconnectFromNodesExcept(DiscoveryNodes nodesToKeep) |
Disconnects from all nodes except the ones provided as parameter
|
protected void |
doClose() |
|
protected void |
doStart() |
|
protected void |
doStop() |
logDeprecatedSetting, logRemovedSetting, nodeNameaddLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stop@Inject public NodeConnectionsService(Settings settings, ThreadPool threadPool, TransportService transportService)
public void connectToNodes(DiscoveryNodes discoveryNodes)
public void disconnectFromNodesExcept(DiscoveryNodes nodesToKeep)
protected void doStart()
doStart in class AbstractLifecycleComponentprotected void doStop()
doStop in class AbstractLifecycleComponentprotected void doClose()
doClose in class AbstractLifecycleComponent