Class AffinityPlacementFactory.AffinityPlacementPlugin
- java.lang.Object
-
- org.apache.solr.cluster.placement.plugins.OrderedNodePlacementPlugin
-
- org.apache.solr.cluster.placement.plugins.AffinityPlacementFactory.AffinityPlacementPlugin
-
- All Implemented Interfaces:
PlacementPlugin
- Enclosing class:
- AffinityPlacementFactory
public static class AffinityPlacementFactory.AffinityPlacementPlugin extends OrderedNodePlacementPlugin
SeeAffinityPlacementFactory
for instructions on how to configure a cluster to use this plugin and details on what the plugin does.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.solr.cluster.placement.plugins.OrderedNodePlacementPlugin
OrderedNodePlacementPlugin.WeightedNode
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<Node,OrderedNodePlacementPlugin.WeightedNode>
getBaseWeightedNodes(PlacementContext placementContext, Set<Node> nodes, Iterable<SolrCollection> relevantCollections, boolean skipNodesWithErrors)
protected void
verifyDeleteCollection(DeleteCollectionRequest deleteCollectionRequest, PlacementContext placementContext)
-
Methods inherited from class org.apache.solr.cluster.placement.plugins.OrderedNodePlacementPlugin
computeBalancing, computePlacements, getWeightedNodes, verifyAllowedModification, verifyDeleteReplicas
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.solr.cluster.placement.PlacementPlugin
computePlacement
-
-
-
-
Method Detail
-
verifyDeleteCollection
protected void verifyDeleteCollection(DeleteCollectionRequest deleteCollectionRequest, PlacementContext placementContext) throws PlacementModificationException
- Overrides:
verifyDeleteCollection
in classOrderedNodePlacementPlugin
- Throws:
PlacementModificationException
-
getBaseWeightedNodes
protected Map<Node,OrderedNodePlacementPlugin.WeightedNode> getBaseWeightedNodes(PlacementContext placementContext, Set<Node> nodes, Iterable<SolrCollection> relevantCollections, boolean skipNodesWithErrors) throws PlacementException
- Specified by:
getBaseWeightedNodes
in classOrderedNodePlacementPlugin
- Throws:
PlacementException
-
-