Uses of Class
org.elasticsearch.cluster.node.DiscoveryNodes
-
-
Uses of DiscoveryNodes in org.elasticsearch.action
Method parameters in org.elasticsearch.action with type arguments of type DiscoveryNodes Modifier and Type Method Description voidActionModule. initRestHandlers(Supplier<DiscoveryNodes> nodesInCluster) -
Uses of DiscoveryNodes in org.elasticsearch.action.admin.cluster.node.tasks.list
Methods in org.elasticsearch.action.admin.cluster.node.tasks.list with parameters of type DiscoveryNodes Modifier and Type Method Description XContentBuilderListTasksResponse. toXContentGroupedByNode(XContentBuilder builder, ToXContent.Params params, DiscoveryNodes discoveryNodes)Convert this task response to XContent grouping by executing nodes. -
Uses of DiscoveryNodes in org.elasticsearch.action.support.tasks
Methods in org.elasticsearch.action.support.tasks with parameters of type DiscoveryNodes Modifier and Type Method Description protected String[]TransportTasksAction. filterNodeIds(DiscoveryNodes nodes, String[] nodesIds) -
Uses of DiscoveryNodes in org.elasticsearch.cluster
Methods in org.elasticsearch.cluster that return DiscoveryNodes Modifier and Type Method Description DiscoveryNodesClusterState. getNodes()DiscoveryNodesClusterState.Builder. nodes()DiscoveryNodesClusterState. nodes()Methods in org.elasticsearch.cluster with parameters of type DiscoveryNodes Modifier and Type Method Description voidNodeConnectionsService. connectToNodes(DiscoveryNodes discoveryNodes, Runnable onCompletion)Connect to all the given nodes, but do not disconnect from any extra nodes.voidNodeConnectionsService. disconnectFromNodesExcept(DiscoveryNodes discoveryNodes)Disconnect from any nodes to which we are currently connected which do not appear in the given nodes.ClusterState.BuilderClusterState.Builder. nodes(DiscoveryNodes nodes)voidNodeConnectionsService. reconnectToNodes(DiscoveryNodes discoveryNodes, Runnable onCompletion)Constructors in org.elasticsearch.cluster with parameters of type DiscoveryNodes Constructor Description ClusterState(ClusterName clusterName, long version, String stateUUID, MetaData metaData, RoutingTable routingTable, DiscoveryNodes nodes, ClusterBlocks blocks, ImmutableOpenMap<String,ClusterState.Custom> customs, int minimumMasterNodesOnPublishingMaster, boolean wasReadFromDiff) -
Uses of DiscoveryNodes in org.elasticsearch.cluster.coordination
Methods in org.elasticsearch.cluster.coordination with parameters of type DiscoveryNodes Modifier and Type Method Description static voidJoinTaskExecutor. ensureNodesCompatibility(Version joiningNodeVersion, DiscoveryNodes currentNodes)ensures that the joining node has a version that's compatible with all current nodesvoidFollowersChecker. setCurrentNodes(DiscoveryNodes discoveryNodes)Update the set of known nodes, starting to check any new ones and stopping checking any previously-known-but-now-unknown ones. -
Uses of DiscoveryNodes in org.elasticsearch.cluster.metadata
Methods in org.elasticsearch.cluster.metadata with parameters of type DiscoveryNodes Modifier and Type Method Description static Map<Integer,List<String>>AutoExpandReplicas. getAutoExpandReplicaChanges(MetaData metaData, DiscoveryNodes discoveryNodes)Checks if the are replicas with the auto-expand feature that need to be adapted. -
Uses of DiscoveryNodes in org.elasticsearch.cluster.node
Fields in org.elasticsearch.cluster.node declared as DiscoveryNodes Modifier and Type Field Description static DiscoveryNodesDiscoveryNodes. EMPTY_NODESMethods in org.elasticsearch.cluster.node that return DiscoveryNodes Modifier and Type Method Description DiscoveryNodesDiscoveryNodes.Builder. build()DiscoveryNodesDiscoveryNodes. newNode(DiscoveryNode node)static DiscoveryNodesDiscoveryNodes. readFrom(StreamInput in, DiscoveryNode localNode)Methods in org.elasticsearch.cluster.node that return types with arguments of type DiscoveryNodes Modifier and Type Method Description static Diff<DiscoveryNodes>DiscoveryNodes. readDiffFrom(StreamInput in, DiscoveryNode localNode)Methods in org.elasticsearch.cluster.node with parameters of type DiscoveryNodes Modifier and Type Method Description static DiscoveryNodes.BuilderDiscoveryNodes. builder(DiscoveryNodes nodes)DiscoveryNodes.DeltaDiscoveryNodes. delta(DiscoveryNodes other)Returns the changes comparing this nodes to the provided nodes.Constructors in org.elasticsearch.cluster.node with parameters of type DiscoveryNodes Constructor Description Builder(DiscoveryNodes nodes) -
Uses of DiscoveryNodes in org.elasticsearch.cluster.routing
Methods in org.elasticsearch.cluster.routing with parameters of type DiscoveryNodes Modifier and Type Method Description ShardIteratorIndexShardRoutingTable. onlyNodeSelectorActiveInitializingShardsIt(String[] nodeAttributes, DiscoveryNodes discoveryNodes)Returns shards based on nodeAttributes given such as node name , node attribute, node IP Supports node specifications in cluster APIShardIteratorIndexShardRoutingTable. onlyNodeSelectorActiveInitializingShardsIt(String nodeAttributes, DiscoveryNodes discoveryNodes)ShardIteratorIndexShardRoutingTable. preferAttributesActiveInitializingShardsIt(List<String> attributes, DiscoveryNodes nodes)ShardIteratorIndexShardRoutingTable. preferAttributesActiveInitializingShardsIt(List<String> attributes, DiscoveryNodes nodes, int seed) -
Uses of DiscoveryNodes in org.elasticsearch.cluster.routing.allocation
Methods in org.elasticsearch.cluster.routing.allocation that return DiscoveryNodes Modifier and Type Method Description DiscoveryNodesRoutingAllocation. nodes()Get discovery nodes in current routing -
Uses of DiscoveryNodes in org.elasticsearch.discovery
Methods in org.elasticsearch.discovery with parameters of type DiscoveryNodes Modifier and Type Method Description voidPeerFinder. activate(DiscoveryNodes lastAcceptedNodes) -
Uses of DiscoveryNodes in org.elasticsearch.discovery.zen
Methods in org.elasticsearch.discovery.zen with parameters of type DiscoveryNodes Modifier and Type Method Description static voidZenDiscovery. validateStateIsFromCurrentMaster(org.apache.logging.log4j.Logger logger, DiscoveryNodes currentNodes, ClusterState newClusterState)In the case we follow an elected master the new cluster state needs to have the same elected master This method checks for this and throws an exception if needed -
Uses of DiscoveryNodes in org.elasticsearch.gateway
Methods in org.elasticsearch.gateway with parameters of type DiscoveryNodes Modifier and Type Method Description AsyncShardFetch.FetchResult<T>AsyncShardFetch. fetchData(DiscoveryNodes nodes, Set<String> ignoreNodes)Fetches the data for the relevant shard. -
Uses of DiscoveryNodes in org.elasticsearch.persistent
Methods in org.elasticsearch.persistent with parameters of type DiscoveryNodes Modifier and Type Method Description static booleanPersistentTasksClusterService. needsReassignment(PersistentTasksCustomMetaData.Assignment assignment, DiscoveryNodes nodes)Returns true if the task is not assigned or is assigned to a non-existing node -
Uses of DiscoveryNodes in org.elasticsearch.plugins
Method parameters in org.elasticsearch.plugins with type arguments of type DiscoveryNodes Modifier and Type Method Description default List<RestHandler>ActionPlugin. getRestHandlers(Settings settings, RestController restController, ClusterSettings clusterSettings, IndexScopedSettings indexScopedSettings, SettingsFilter settingsFilter, IndexNameExpressionResolver indexNameExpressionResolver, Supplier<DiscoveryNodes> nodesInCluster)Rest handlers added by this plugin. -
Uses of DiscoveryNodes in org.elasticsearch.rest.action.admin.cluster
Method parameters in org.elasticsearch.rest.action.admin.cluster with type arguments of type DiscoveryNodes Modifier and Type Method Description static <T extends ListTasksResponse>
ActionListener<T>RestListTasksAction. listTasksResponseListener(Supplier<DiscoveryNodes> nodesInCluster, String groupBy, RestChannel channel)Standard listener for extensions ofListTasksResponsethat supportsgroup_by=nodes.Constructor parameters in org.elasticsearch.rest.action.admin.cluster with type arguments of type DiscoveryNodes Constructor Description RestCancelTasksAction(RestController controller, Supplier<DiscoveryNodes> nodesInCluster)RestListTasksAction(RestController controller, Supplier<DiscoveryNodes> nodesInCluster) -
Uses of DiscoveryNodes in org.elasticsearch.rest.action.cat
Constructor parameters in org.elasticsearch.rest.action.cat with type arguments of type DiscoveryNodes Constructor Description RestTasksAction(RestController controller, Supplier<DiscoveryNodes> nodesInCluster)
-