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.lang.Iterable<DiscoveryNode> discoveryNodes) |
void |
disconnectFromNodesExcept(java.lang.Iterable<DiscoveryNode> 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(java.lang.Iterable<DiscoveryNode> discoveryNodes)
public void disconnectFromNodesExcept(java.lang.Iterable<DiscoveryNode> nodesToKeep)
protected void doStart()
doStart
in class AbstractLifecycleComponent
protected void doStop()
doStop
in class AbstractLifecycleComponent
protected void doClose()
doClose
in class AbstractLifecycleComponent