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(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, stop
logDeprecatedSetting, 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 AbstractLifecycleComponent
protected void doStop()
doStop
in class AbstractLifecycleComponent
protected void doClose()
doClose
in class AbstractLifecycleComponent