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 |
lifecycledeprecationLogger, logger, settings| Constructor and Description |
|---|
NodeConnectionsService(Settings settings,
ThreadPool threadPool,
TransportService transportService) |
| Modifier and Type | Method and 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() |
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stoplogDeprecatedSetting, logRemovedSetting, nodeName@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