Package org.apache.solr.cluster.api
Interface Shard
- 
 public interface ShardA shard of a collection
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringcollection()collection this shard belongs toStringleader()Name of the replica that is acting as the leader at the momentStringname()name of the shardHashRangerange()hash range of this shard.SimpleMap<ShardReplica>replicas()replicas of the shard
 
- 
- 
- 
Method Detail- 
nameString name() name of the shard
 - 
collectionString collection() collection this shard belongs to
 - 
rangeHashRange range() hash range of this shard. null if this is not using hash based router
 - 
replicasSimpleMap<ShardReplica> replicas() replicas of the shard
 - 
leaderString leader() Name of the replica that is acting as the leader at the moment
 
- 
 
-