Uses of Class
org.apache.solr.common.cloud.Replica
-
Packages that use Replica Package Description org.apache.solr.client.solrj.cloud Common classes for SolrCloud.org.apache.solr.client.solrj.impl Concrete implementations of client API classes.org.apache.solr.common.cloud Common Solr Cloud and ZooKeeper related classes reused on both clients & server. -
-
Uses of Replica in org.apache.solr.client.solrj.cloud
Methods in org.apache.solr.client.solrj.cloud that return types with arguments of type Replica Modifier and Type Method Description Map<String,Map<String,List<Replica>>>NodeStateProvider. getReplicaInfo(String node, Collection<String> keys)Get the details of each replica in a node. -
Uses of Replica in org.apache.solr.client.solrj.impl
Fields in org.apache.solr.client.solrj.impl with type parameters of type Replica Modifier and Type Field Description protected Map<String,Map<String,Map<String,List<Replica>>>>SolrClientNodeStateProvider. nodeVsCollectionVsShardVsReplicaInfoMethods in org.apache.solr.client.solrj.impl that return types with arguments of type Replica Modifier and Type Method Description Map<String,Map<String,List<Replica>>>SolrClientNodeStateProvider. getReplicaInfo(String node, Collection<String> keys)Method parameters in org.apache.solr.client.solrj.impl with type arguments of type Replica Modifier and Type Method Description protected Map<String,Object>SolrClientNodeStateProvider. fetchReplicaMetrics(String node, Map<String,Pair<String,Replica>> metricsKeyVsTagReplica)voidSolrClientNodeStateProvider. forEachReplica(String node, Consumer<Replica> consumer)static voidSolrClientNodeStateProvider. forEachReplica(Map<String,Map<String,List<Replica>>> collectionVsShardVsReplicas, Consumer<Replica> consumer)static voidSolrClientNodeStateProvider. forEachReplica(Map<String,Map<String,List<Replica>>> collectionVsShardVsReplicas, Consumer<Replica> consumer) -
Uses of Replica in org.apache.solr.common.cloud
Methods in org.apache.solr.common.cloud that return Replica Modifier and Type Method Description ReplicaReplica. copyWith(PerReplicaStates.State state)ReplicaDocCollection. getLeader(String sliceName)ReplicaSlice. getLeader()ReplicaZkStateReader. getLeader(String collection, String shard)ReplicaZkStateReader. getLeader(Set<String> liveNodes, DocCollection docCollection, String shard)ReplicaZkStateReader. getLeaderRetry(String collection, String shard)Get shard leader properties, with retry if none exist.ReplicaZkStateReader. getLeaderRetry(String collection, String shard, int timeout)Get shard leader properties, with retry if none exist.ReplicaDocCollection. getReplica(String coreNodeName)ReplicaDocCollection. getReplica(BiPredicate<String,Replica> predicate)ReplicaSlice. getReplica(String replicaName)Methods in org.apache.solr.common.cloud that return types with arguments of type Replica Modifier and Type Method Description List<Replica>DocCollection. getLeaderReplicas(String nodeName)Get the list of all leaders hosted on the given node ornullif none.List<Replica>DocCollection. getReplicas()List<Replica>DocCollection. getReplicas(String nodeName)Get the list of replicas hosted on the given node ornullif none.List<Replica>DocCollection. getReplicas(EnumSet<Replica.Type> s)Collection<Replica>Slice. getReplicas()Gets the list of all replicas for this slice.List<Replica>Slice. getReplicas(EnumSet<Replica.Type> s)Gets the list of replicas that have a type present in sList<Replica>Slice. getReplicas(Predicate<Replica> pred)Gets all replicas that match a predicateMap<String,Replica>Slice. getReplicasCopy()Map<String,Replica>Slice. getReplicasMap()Get the map of coreNodeName to replicas for this slice.Iterator<Replica>Slice. iterator()Methods in org.apache.solr.common.cloud with parameters of type Replica Modifier and Type Method Description SliceSlice. copyWith(Replica modified)Make a copy with a modified replicaMethod parameters in org.apache.solr.common.cloud with type arguments of type Replica Modifier and Type Method Description voidDocCollection. forEachReplica(BiConsumer<String,Replica> consumer)ReplicaDocCollection. getReplica(BiPredicate<String,Replica> predicate)List<Replica>Slice. getReplicas(Predicate<Replica> pred)Gets all replicas that match a predicateConstructor parameters in org.apache.solr.common.cloud with type arguments of type Replica Constructor Description Slice(String name, Map<String,Replica> replicas, Map<String,Object> props, String collection)
-