Package org.apache.solr.cluster.api
Interface Shard
-
public interface ShardA shard of a collection
-
-
Method Summary
All 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
-
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
-
-