Package | Description |
---|---|
org.apache.solr.common.cloud |
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
|
Modifier and Type | Method and Description |
---|---|
Replica |
Slice.getLeader() |
Replica |
ZkStateReader.getLeader(String collection,
String shard) |
Replica |
ClusterState.getLeader(String collection,
String sliceName)
Get the lead replica for specific collection, or null if one currently doesn't exist.
|
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 |
Slice.getReplica(String replicaName) |
Replica |
DocCollection.getReplica(String coreNodeName) |
Replica |
ClusterState.getReplica(String collection,
String coreNodeName)
Gets the replica by the core name (assuming the slice is unknown) or null if replica is not found.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
Slice(String name,
Map<String,Replica> replicas,
Map<String,Object> props) |
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.