## Uses of Class
org.apache.solr.common.cloud.Replica

Packages that use Replica
org.apache.solr.client.solrj.cloud.autoscaling: Common classes for autoscaling parsing filtering nodes and sorting
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.autoscaling

Constructors in org.apache.solr.client.solrj.cloud.autoscaling with parameters of type Replica
Constructor and Description
`ReplicaInfo(String coll, String shard, Replica r, Map<String,Object> vals)`

### Uses of Replica in org.apache.solr.common.cloud

Methods in org.apache.solr.common.cloud that return Replica
`Replica` Slice.`getLeader()`
`Replica` ZkStateReader.`getLeader(Set<String> liveNodes, DocCollection docCollection, String shard)`
`Replica` DocCollection.`getLeader(String sliceName)`
`Replica` ZkStateReader.`getLeader(String collection, String shard)`
`Replica` ZkStateReader.`getLeaderRetry(String collection, String shard)` Get shard leader properties, with retry if none exist.
`Replica` ZkStateReader.`getLeaderRetry(String collection, String shard, int timeout)` Get shard leader properties, with retry if none exist.
`Replica` DocCollection.`getReplica(BiPredicate<String,Replica> predicate)`
`Replica` DocCollection.`getReplica(String coreNodeName)`
`Replica` Slice.`getReplica(String replicaName)`

Methods in org.apache.solr.common.cloud that return types with arguments of type Replica
`List<Replica>` DocCollection.`getLeaderReplicas(String nodeName)` Get the list of all leaders hosted on the given node or `null` if none.
`List<Replica>` DocCollection.`getReplicas()`
`Collection<Replica>` Slice.`getReplicas()` Gets the list of all replicas for this slice.
`List<Replica>` DocCollection.`getReplicas(EnumSet<Replica.Type> s)`
`List<Replica>` Slice.`getReplicas(EnumSet<Replica.Type> s)` Gets the list of replicas that have a type present in s
`List<Replica>` Slice.`getReplicas(Predicate<Replica> pred)` Gets all replicas that match a predicate
`List<Replica>` DocCollection.`getReplicas(String nodeName)` Get the list of replicas hosted on the given node or `null` if none.
`Map<String,Replica>` Slice.`getReplicasCopy()`
`Map<String,Replica>` Slice.`getReplicasMap()` Get the map of coreNodeName to replicas for this slice.
`Iterator<Replica>` Slice.`iterator()`

Method parameters in org.apache.solr.common.cloud with type arguments of type Replica
`void` DocCollection.`forEachReplica(BiConsumer<String,Replica> consumer)`
`Replica` DocCollection.`getReplica(BiPredicate<String,Replica> predicate)`
`List<Replica>` Slice.`getReplicas(Predicate<Replica> pred)` Gets all replicas that match a predicate

Constructor parameters in org.apache.solr.common.cloud with type arguments of type Replica
Constructor and Description
`Slice(String name, Map<String,Replica> replicas, Map<String,Object> props)`