Uses of Interface
org.apache.solr.cluster.placement.PlacementContext
-
Packages that use PlacementContext Package Description 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 PlacementContext in org.apache.solr.cluster.placement
Methods in org.apache.solr.cluster.placement with parameters of type PlacementContext Modifier and Type Method Description BalancePlan
PlacementPlugin. computeBalancing(BalanceRequest balanceRequest, PlacementContext placementContext)
Request from plugin code to compute a balancing of replicas.default PlacementPlan
PlacementPlugin. computePlacement(PlacementRequest placementRequest, PlacementContext placementContext)
Request from plugin code to compute placement.List<PlacementPlan>
PlacementPlugin. computePlacements(Collection<PlacementRequest> placementRequests, PlacementContext placementContext)
Request from plugin code to compute multiple placements.default void
PlacementPlugin. verifyAllowedModification(ModificationRequest modificationRequest, PlacementContext placementContext)
Verify that a collection layout modification doesn't violate constraints on replica placements required by this plugin. -
Uses of PlacementContext in org.apache.solr.cluster.placement.impl
Classes in org.apache.solr.cluster.placement.impl that implement PlacementContext Modifier and Type Class Description class
SimplePlacementContextImpl
Implementation ofPlacementContext
that usesSimpleClusterAbstractionsImpl
to create components necessary for the placement plugins to use. -
Uses of PlacementContext in org.apache.solr.cluster.placement.plugins
Methods in org.apache.solr.cluster.placement.plugins with parameters of type PlacementContext Modifier and Type Method Description BalancePlan
OrderedNodePlacementPlugin. computeBalancing(BalanceRequest balanceRequest, PlacementContext placementContext)
List<PlacementPlan>
OrderedNodePlacementPlugin. computePlacements(Collection<PlacementRequest> requests, PlacementContext placementContext)
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)
void
OrderedNodePlacementPlugin. verifyAllowedModification(ModificationRequest modificationRequest, PlacementContext placementContext)
protected void
AffinityPlacementFactory.AffinityPlacementPlugin. verifyDeleteCollection(DeleteCollectionRequest deleteCollectionRequest, PlacementContext placementContext)
protected void
OrderedNodePlacementPlugin. verifyDeleteCollection(DeleteCollectionRequest deleteCollectionRequest, PlacementContext placementContext)
protected void
OrderedNodePlacementPlugin. verifyDeleteReplicas(DeleteReplicasRequest deleteReplicasRequest, PlacementContext placementContext)
-