public class Region extends Object
Constructor and Description |
---|
Region(Metapb.Region region,
Metapb.Peer leader,
List<Metapb.Peer> peers,
List<TiStore> stores) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getEndKey() |
long |
getId() |
Store |
getLeader() |
byte[] |
getStartKey() |
Store[] |
getStores() |
String |
toString() |
public Region(Metapb.Region region, Metapb.Peer leader, List<Metapb.Peer> peers, List<TiStore> stores)
Copyright © 2024 PingCAP. All rights reserved.