Uses of Interface
org.apache.solr.cluster.Node
-
Packages that use Node Package Description org.apache.solr.cluster This package contains the interfaces giving access to cluster state, including nodes, collections and the structure of the collections (shards and replicas).org.apache.solr.cluster.placement This package contains interfaces visible by plugins (i.e.org.apache.solr.cluster.placement.impl Implementation classes (not visible to plugins, subject to change at any time) for the interfaces inorg.apache.solr.cluster.placement
and to make them work with the rest of Solr.org.apache.solr.cluster.placement.plugins Sample plugin implementations. -
-
Uses of Node in org.apache.solr.cluster
Methods in org.apache.solr.cluster that return Node Modifier and Type Method Description Node
Replica. getNode()
Methods in org.apache.solr.cluster that return types with arguments of type Node Modifier and Type Method Description Set<Node>
Cluster. getLiveDataNodes()
Set<Node>
Cluster. getLiveNodes()
-
Uses of Node in org.apache.solr.cluster.placement
Methods in org.apache.solr.cluster.placement that return Node Modifier and Type Method Description Node
ReplicaPlacement. getNode()
Methods in org.apache.solr.cluster.placement that return types with arguments of type Node Modifier and Type Method Description Set<Node>
BalanceRequest. getNodes()
Replicas should only be balanced on nodes in the set returned by this method.Map<Replica,Node>
BalancePlan. getReplicaMovements()
Set<Node>
PlacementRequest. getTargetNodes()
Replicas should only be placed on nodes in the set returned by this method.Methods in org.apache.solr.cluster.placement with parameters of type Node Modifier and Type Method Description ReplicaPlacement
PlacementPlanFactory. createReplicaPlacement(SolrCollection solrCollection, String shardName, Node node, Replica.ReplicaType replicaType)
Creates aReplicaPlacement
to be passed toPlacementPlan
factory methods.<T> Optional<T>
AttributeValues. getNodeMetric(Node node, NodeMetric<T> metric)
For the given node: metric identified by an instance ofNodeMetric
Optional<String>
AttributeValues. getSystemProperty(Node node, String name)
For the given node: system property value (system properties are passed to Java using-Dname=value
Method parameters in org.apache.solr.cluster.placement with type arguments of type Node Modifier and Type Method Description BalancePlan
BalancePlanFactory. createBalancePlan(BalanceRequest request, Map<Replica,Node> replicaMovements)
Creates aBalancePlan
for balancing replicas across the given nodes.AttributeFetcher
AttributeFetcher. fetchFrom(Set<Node> nodes)
The set of nodes from which to fetch all node related attributes. -
Uses of Node in org.apache.solr.cluster.placement.impl
Methods in org.apache.solr.cluster.placement.impl that return types with arguments of type Node Modifier and Type Method Description Set<Node>
BalanceRequestImpl. getNodes()
Set<Node>
PlacementRequestImpl. getTargetNodes()
Methods in org.apache.solr.cluster.placement.impl with parameters of type Node Modifier and Type Method Description ReplicaPlacement
PlacementPlanFactoryImpl. createReplicaPlacement(SolrCollection solrCollection, String shardName, Node node, Replica.ReplicaType replicaType)
<T> Optional<T>
AttributeValuesImpl. getNodeMetric(Node node, NodeMetric<T> metric)
Optional<String>
AttributeValuesImpl. getSystemProperty(Node node, String name)
Method parameters in org.apache.solr.cluster.placement.impl with type arguments of type Node Modifier and Type Method Description BalancePlan
BalancePlanFactoryImpl. createBalancePlan(BalanceRequest request, Map<Replica,Node> replicaMovements)
AttributeFetcher
AttributeFetcherImpl. fetchFrom(Set<Node> nodes)
Constructor parameters in org.apache.solr.cluster.placement.impl with type arguments of type Node Constructor Description AttributeValuesImpl(Map<String,Map<Node,String>> systemSnitchToNodeToValue, Map<NodeMetric<?>,Map<Node,Object>> metricSnitchToNodeToValue, Map<String,CollectionMetrics> collectionMetrics)
BalanceRequestImpl(Set<Node> nodes)
BalanceRequestImpl(Set<Node> nodes, int maximumBalanceSkew)
-
Uses of Node in org.apache.solr.cluster.placement.plugins
Methods in org.apache.solr.cluster.placement.plugins that return Node Modifier and Type Method Description Node
OrderedNodePlacementPlugin.WeightedNode. getNode()
Methods in org.apache.solr.cluster.placement.plugins that return types with arguments of type Node Modifier and Type Method Description protected Map<Node,OrderedNodePlacementPlugin.WeightedNode>
AffinityPlacementFactory.AffinityPlacementPlugin. getBaseWeightedNodes(PlacementContext placementContext, Set<Node> nodes, Iterable<SolrCollection> relevantCollections, boolean skipNodesWithErrors)
protected abstract Map<Node,OrderedNodePlacementPlugin.WeightedNode>
OrderedNodePlacementPlugin. getBaseWeightedNodes(PlacementContext placementContext, Set<Node> nodes, Iterable<SolrCollection> relevantCollections, boolean skipNodesWithErrors)
protected Map<Node,OrderedNodePlacementPlugin.WeightedNode>
RandomPlacementFactory.RandomPlacementPlugin. getBaseWeightedNodes(PlacementContext placementContext, Set<Node> nodes, Iterable<SolrCollection> relevantCollections, boolean skipNodesWithErrors)
protected Map<Node,OrderedNodePlacementPlugin.WeightedNode>
SimplePlacementFactory.SimplePlacementPlugin. getBaseWeightedNodes(PlacementContext placementContext, Set<Node> nodes, Iterable<SolrCollection> relevantCollections, boolean skipNodesWithErrors)
protected Map<Node,OrderedNodePlacementPlugin.WeightedNode>
OrderedNodePlacementPlugin. getWeightedNodes(PlacementContext placementContext, Set<Node> nodes, Iterable<SolrCollection> relevantCollections, boolean skipNodesWithErrors)
Method parameters in org.apache.solr.cluster.placement.plugins with type arguments of type Node Modifier and Type Method Description protected Map<Node,OrderedNodePlacementPlugin.WeightedNode>
AffinityPlacementFactory.AffinityPlacementPlugin. getBaseWeightedNodes(PlacementContext placementContext, Set<Node> nodes, Iterable<SolrCollection> relevantCollections, boolean skipNodesWithErrors)
protected abstract Map<Node,OrderedNodePlacementPlugin.WeightedNode>
OrderedNodePlacementPlugin. getBaseWeightedNodes(PlacementContext placementContext, Set<Node> nodes, Iterable<SolrCollection> relevantCollections, boolean skipNodesWithErrors)
protected Map<Node,OrderedNodePlacementPlugin.WeightedNode>
RandomPlacementFactory.RandomPlacementPlugin. getBaseWeightedNodes(PlacementContext placementContext, Set<Node> nodes, Iterable<SolrCollection> relevantCollections, boolean skipNodesWithErrors)
protected Map<Node,OrderedNodePlacementPlugin.WeightedNode>
SimplePlacementFactory.SimplePlacementPlugin. getBaseWeightedNodes(PlacementContext placementContext, Set<Node> nodes, Iterable<SolrCollection> relevantCollections, boolean skipNodesWithErrors)
protected Map<Node,OrderedNodePlacementPlugin.WeightedNode>
OrderedNodePlacementPlugin. getWeightedNodes(PlacementContext placementContext, Set<Node> nodes, Iterable<SolrCollection> relevantCollections, boolean skipNodesWithErrors)
Constructors in org.apache.solr.cluster.placement.plugins with parameters of type Node Constructor Description WeightedNode(Node node)
-