Package org.apache.solr.cluster.api
Interface Shard
-
public interface Shard
A shard of a collection
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
collection()
collection this shard belongs toString
leader()
Name of the replica that is acting as the leader at the momentString
name()
name of the shardHashRange
range()
hash range of this shard.SimpleMap<ShardReplica>
replicas()
replicas of the shard
-
-
-
Method Detail
-
name
String name()
name of the shard
-
collection
String collection()
collection this shard belongs to
-
range
HashRange range()
hash range of this shard. null if this is not using hash based router
-
replicas
SimpleMap<ShardReplica> replicas()
replicas of the shard
-
leader
String leader()
Name of the replica that is acting as the leader at the moment
-
-