Uses of Interface
org.apache.solr.cluster.Replica
-
Packages that use Replica 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.placementand to make them work with the rest of Solr.org.apache.solr.cluster.placement.plugins Sample plugin implementations. -
-
Uses of Replica in org.apache.solr.cluster
Methods in org.apache.solr.cluster that return Replica Modifier and Type Method Description ReplicaShard. getLeader()ReplicaShard. getReplica(String name)Returns theReplicaof the given name for that shard, if such a replica exists.Methods in org.apache.solr.cluster that return types with arguments of type Replica Modifier and Type Method Description Iterator<Replica>Shard. iterator()Iterable<Replica>Shard. replicas()Allow foreach iteration on replicas such as:for (Replica r : shard.replicas()) {...}. -
Uses of Replica in org.apache.solr.cluster.placement
Methods in org.apache.solr.cluster.placement that return types with arguments of type Replica Modifier and Type Method Description Map<Replica,Node>BalancePlan. getReplicaMovements()Set<Replica>DeleteReplicasRequest. getReplicas()Method parameters in org.apache.solr.cluster.placement with type arguments of type Replica Modifier and Type Method Description BalancePlanBalancePlanFactory. createBalancePlan(BalanceRequest request, Map<Replica,Node> replicaMovements)Creates aBalancePlanfor balancing replicas across the given nodes. -
Uses of Replica in org.apache.solr.cluster.placement.impl
Method parameters in org.apache.solr.cluster.placement.impl with type arguments of type Replica Modifier and Type Method Description BalancePlanBalancePlanFactoryImpl. createBalancePlan(BalanceRequest request, Map<Replica,Node> replicaMovements)static DeleteReplicasRequestModificationRequestImpl. createDeleteReplicasRequest(SolrCollection collection, Set<Replica> replicas)Create a delete replicas request. -
Uses of Replica in org.apache.solr.cluster.placement.plugins
Methods in org.apache.solr.cluster.placement.plugins that return types with arguments of type Replica Modifier and Type Method Description Map<Replica,String>OrderedNodePlacementPlugin.WeightedNode. canRemoveReplicas(Collection<Replica> replicas)Determine if the given replicas can be removed from the node.Set<Replica>OrderedNodePlacementPlugin.WeightedNode. getAllReplicasOnNode()Set<Replica>OrderedNodePlacementPlugin.WeightedNode. getReplicasForShardOnNode(Shard shard)Methods in org.apache.solr.cluster.placement.plugins with parameters of type Replica Modifier and Type Method Description protected abstract booleanOrderedNodePlacementPlugin.WeightedNode. addProjectedReplicaWeights(Replica replica)Add the weights for the given replica to this nodebooleanOrderedNodePlacementPlugin.WeightedNode. addReplica(Replica replica)abstract intOrderedNodePlacementPlugin.WeightedNode. calcRelevantWeightWithReplica(Replica replica)booleanOrderedNodePlacementPlugin.WeightedNode. canAddReplica(Replica replica)voidOrderedNodePlacementPlugin.WeightedNode. initReplica(Replica replica)protected voidOrderedNodePlacementPlugin.WeightedNode. initReplicaWeights(Replica replica)protected abstract voidOrderedNodePlacementPlugin.WeightedNode. removeProjectedReplicaWeights(Replica replica)voidOrderedNodePlacementPlugin.WeightedNode. removeReplica(Replica replica)Method parameters in org.apache.solr.cluster.placement.plugins with type arguments of type Replica Modifier and Type Method Description Map<Replica,String>OrderedNodePlacementPlugin.WeightedNode. canRemoveReplicas(Collection<Replica> replicas)Determine if the given replicas can be removed from the node.
-