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

- Packages that use Replica
  Package | Description
  --- | ---
  org.apache.solr.common.cloud | Common Solr Cloud and ZooKeeper related classes reused on both clients & server.

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

    Methods in org.apache.solr.common.cloud that return Replica
    Modifier and Type | Method and Description
    --- | ---
    `Replica` | Slice.`getLeader()`
    `Replica` | DocCollection.`getLeader(String sliceName)`
    `Replica` | ZkStateReader.`getLeader(String collection, String shard)`
    `Replica` | ClusterState.`getLeader(String collection, String sliceName)` Deprecated. Use `DocCollection.getLeader(String)` instead
    `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(String coreNodeName)`
    `Replica` | Slice.`getReplica(String replicaName)`
    `Replica` | ClusterState.`getReplica(String collection, String coreNodeName)` Deprecated. use `DocCollection.getReplica(String)` instead

    Methods in org.apache.solr.common.cloud that return types with arguments of type Replica
    Modifier and Type | Method and Description
    --- | ---
    `List<Replica>` | DocCollection.`getReplicas()`
    `Collection<Replica>` | Slice.`getReplicas()` Gets the list of replicas for this slice.
    `Map<String,Replica>` | Slice.`getReplicasCopy()`
    `Map<String,Replica>` | Slice.`getReplicasMap()` Get the map of coreNodeName to replicas for this slice.
    `Iterator<Replica>` | Slice.`iterator()`

    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)`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.