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.placementand 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 BalancePlanPlacementPlugin. computeBalancing(BalanceRequest balanceRequest, PlacementContext placementContext)Request from plugin code to compute a balancing of replicas.default PlacementPlanPlacementPlugin. 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 voidPlacementPlugin. 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 classSimplePlacementContextImplImplementation ofPlacementContextthat usesSimpleClusterAbstractionsImplto 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 BalancePlanOrderedNodePlacementPlugin. 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)voidOrderedNodePlacementPlugin. verifyAllowedModification(ModificationRequest modificationRequest, PlacementContext placementContext)protected voidAffinityPlacementFactory.AffinityPlacementPlugin. verifyDeleteCollection(DeleteCollectionRequest deleteCollectionRequest, PlacementContext placementContext)protected voidOrderedNodePlacementPlugin. verifyDeleteCollection(DeleteCollectionRequest deleteCollectionRequest, PlacementContext placementContext)protected voidOrderedNodePlacementPlugin. verifyDeleteReplicas(DeleteReplicasRequest deleteReplicasRequest, PlacementContext placementContext)
-