Package | Description |
---|---|
enginepb | |
org.tikv.common | |
org.tikv.common.region | |
org.tikv.common.replica | |
org.tikv.kvproto |
Modifier and Type | Method and Description |
---|---|
Metapb.Peer |
Enginepb.SnapshotStateOrBuilder.getPeer()
.metapb.Peer peer = 2; |
Metapb.Peer |
Enginepb.SnapshotState.getPeer()
.metapb.Peer peer = 2; |
Metapb.Peer |
Enginepb.SnapshotState.Builder.getPeer()
.metapb.Peer peer = 2; |
Modifier and Type | Method and Description |
---|---|
Enginepb.SnapshotState.Builder |
Enginepb.SnapshotState.Builder.mergePeer(Metapb.Peer value)
.metapb.Peer peer = 2; |
Enginepb.SnapshotState.Builder |
Enginepb.SnapshotState.Builder.setPeer(Metapb.Peer value)
.metapb.Peer peer = 2; |
Modifier and Type | Method and Description |
---|---|
Pair<Metapb.Region,Metapb.Peer> |
ReadOnlyPDClient.getRegionByID(BackOffer backOffer,
long id)
Get Region by Region Id
|
Pair<Metapb.Region,Metapb.Peer> |
PDClient.getRegionByID(BackOffer backOffer,
long id) |
Pair<Metapb.Region,Metapb.Peer> |
ReadOnlyPDClient.getRegionByKey(BackOffer backOffer,
com.google.protobuf.ByteString key)
Get Region from PD by key specified
|
Pair<Metapb.Region,Metapb.Peer> |
PDClient.getRegionByKey(BackOffer backOffer,
com.google.protobuf.ByteString key) |
Modifier and Type | Method and Description |
---|---|
Metapb.Peer |
TiRegion.getCurrentReplica() |
Metapb.Peer |
TiRegion.getLeader() |
Metapb.Peer |
TiRegion.getNextReplica() |
Modifier and Type | Method and Description |
---|---|
List<Metapb.Peer> |
TiRegion.getFollowerList() |
List<Metapb.Peer> |
TiRegion.getLearnerList() |
List<Metapb.Peer> |
TiRegion.getPeersList() |
List<Metapb.Peer> |
TiRegion.getReplicaList() |
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.Context |
TiRegion.getReplicaContext(Metapb.Peer currentPeer) |
Kvrpcpb.Context |
TiRegion.getReplicaContext(Metapb.Peer currentPeer,
Set<Long> resolvedLocks) |
protected Kvrpcpb.Context |
AbstractRegionStoreClient.makeContext(Metapb.Peer peer) |
Constructor and Description |
---|
TiRegion(TiConfiguration conf,
Metapb.Region meta,
Metapb.Peer leader,
List<Metapb.Peer> peers,
List<TiStore> stores) |
Constructor and Description |
---|
TiRegion(TiConfiguration conf,
Metapb.Region meta,
Metapb.Peer leader,
List<Metapb.Peer> peers,
List<TiStore> stores) |
Modifier and Type | Method and Description |
---|---|
Metapb.Peer |
Store.getPeer() |
Constructor and Description |
---|
Region(Metapb.Region region,
Metapb.Peer leader,
List<Metapb.Peer> peers,
List<TiStore> stores) |
Constructor and Description |
---|
Region(Metapb.Region region,
Metapb.Peer leader,
List<Metapb.Peer> peers,
List<TiStore> stores) |
Modifier and Type | Method and Description |
---|---|
Metapb.Peer |
Metapb.Peer.Builder.build() |
Metapb.Peer |
Metapb.Peer.Builder.buildPartial() |
Metapb.Peer |
RaftServerpb.ExtraMessageOrBuilder.getCheckPeers(int index)
repeated .metapb.Peer check_peers = 3; |
Metapb.Peer |
RaftServerpb.ExtraMessage.getCheckPeers(int index)
repeated .metapb.Peer check_peers = 3; |
Metapb.Peer |
RaftServerpb.ExtraMessage.Builder.getCheckPeers(int index)
repeated .metapb.Peer check_peers = 3; |
static Metapb.Peer |
Metapb.Peer.getDefaultInstance() |
Metapb.Peer |
Metapb.Peer.getDefaultInstanceForType() |
Metapb.Peer |
Metapb.Peer.Builder.getDefaultInstanceForType() |
Metapb.Peer |
RaftServerpb.RaftMessageOrBuilder.getFromPeer()
.metapb.Peer from_peer = 2; |
Metapb.Peer |
RaftServerpb.RaftMessage.getFromPeer()
.metapb.Peer from_peer = 2; |
Metapb.Peer |
RaftServerpb.RaftMessage.Builder.getFromPeer()
.metapb.Peer from_peer = 2; |
Metapb.Peer |
RaftCmdpb.RegionLeaderResponseOrBuilder.getLeader()
.metapb.Peer leader = 1; |
Metapb.Peer |
RaftCmdpb.RegionLeaderResponse.getLeader()
.metapb.Peer leader = 1; |
Metapb.Peer |
RaftCmdpb.RegionLeaderResponse.Builder.getLeader()
.metapb.Peer leader = 1; |
Metapb.Peer |
RaftCmdpb.RegionDetailResponseOrBuilder.getLeader()
.metapb.Peer leader = 2; |
Metapb.Peer |
RaftCmdpb.RegionDetailResponse.getLeader()
.metapb.Peer leader = 2; |
Metapb.Peer |
RaftCmdpb.RegionDetailResponse.Builder.getLeader()
.metapb.Peer leader = 2; |
Metapb.Peer |
Pdpb.GetRegionResponseOrBuilder.getLeader()
.metapb.Peer leader = 3; |
Metapb.Peer |
Pdpb.GetRegionResponse.getLeader()
.metapb.Peer leader = 3; |
Metapb.Peer |
Pdpb.GetRegionResponse.Builder.getLeader()
.metapb.Peer leader = 3; |
Metapb.Peer |
Pdpb.RegionOrBuilder.getLeader()
.metapb.Peer leader = 2; |
Metapb.Peer |
Pdpb.Region.getLeader()
.metapb.Peer leader = 2; |
Metapb.Peer |
Pdpb.Region.Builder.getLeader()
.metapb.Peer leader = 2; |
Metapb.Peer |
Pdpb.RegionHeartbeatRequestOrBuilder.getLeader()
Leader Peer sending the heartbeat.
|
Metapb.Peer |
Pdpb.RegionHeartbeatRequest.getLeader()
Leader Peer sending the heartbeat.
|
Metapb.Peer |
Pdpb.RegionHeartbeatRequest.Builder.getLeader()
Leader Peer sending the heartbeat.
|
Metapb.Peer |
Pdpb.ScatterRegionRequestOrBuilder.getLeader()
.metapb.Peer leader = 4; |
Metapb.Peer |
Pdpb.ScatterRegionRequest.getLeader()
.metapb.Peer leader = 4; |
Metapb.Peer |
Pdpb.ScatterRegionRequest.Builder.getLeader()
.metapb.Peer leader = 4; |
Metapb.Peer |
Errorpb.NotLeaderOrBuilder.getLeader()
Region leader of the requested region
|
Metapb.Peer |
Errorpb.NotLeader.getLeader()
Region leader of the requested region
|
Metapb.Peer |
Errorpb.NotLeader.Builder.getLeader()
Region leader of the requested region
|
Metapb.Peer |
Pdpb.ScanRegionsResponseOrBuilder.getLeaders(int index)
repeated .metapb.Peer leaders = 3; |
Metapb.Peer |
Pdpb.ScanRegionsResponse.getLeaders(int index)
repeated .metapb.Peer leaders = 3; |
Metapb.Peer |
Pdpb.ScanRegionsResponse.Builder.getLeaders(int index)
repeated .metapb.Peer leaders = 3; |
Metapb.Peer |
RaftCmdpb.ChangePeerRequestOrBuilder.getPeer()
.metapb.Peer peer = 2; |
Metapb.Peer |
RaftCmdpb.ChangePeerRequest.getPeer()
.metapb.Peer peer = 2; |
Metapb.Peer |
RaftCmdpb.ChangePeerRequest.Builder.getPeer()
.metapb.Peer peer = 2; |
Metapb.Peer |
RaftCmdpb.TransferLeaderRequestOrBuilder.getPeer()
.metapb.Peer peer = 1; |
Metapb.Peer |
RaftCmdpb.TransferLeaderRequest.getPeer()
.metapb.Peer peer = 1; |
Metapb.Peer |
RaftCmdpb.TransferLeaderRequest.Builder.getPeer()
.metapb.Peer peer = 1; |
Metapb.Peer |
RaftCmdpb.RaftRequestHeaderOrBuilder.getPeer()
.metapb.Peer peer = 2; |
Metapb.Peer |
RaftCmdpb.RaftRequestHeader.getPeer()
.metapb.Peer peer = 2; |
Metapb.Peer |
RaftCmdpb.RaftRequestHeader.Builder.getPeer()
.metapb.Peer peer = 2; |
Metapb.Peer |
Pdpb.PeerStatsOrBuilder.getPeer()
.metapb.Peer peer = 1; |
Metapb.Peer |
Pdpb.PeerStats.getPeer()
.metapb.Peer peer = 1; |
Metapb.Peer |
Pdpb.PeerStats.Builder.getPeer()
.metapb.Peer peer = 1; |
Metapb.Peer |
Pdpb.ChangePeerOrBuilder.getPeer()
.metapb.Peer peer = 1; |
Metapb.Peer |
Pdpb.ChangePeer.getPeer()
.metapb.Peer peer = 1; |
Metapb.Peer |
Pdpb.ChangePeer.Builder.getPeer()
.metapb.Peer peer = 1; |
Metapb.Peer |
Pdpb.TransferLeaderOrBuilder.getPeer()
.metapb.Peer peer = 1; |
Metapb.Peer |
Pdpb.TransferLeader.getPeer()
.metapb.Peer peer = 1; |
Metapb.Peer |
Pdpb.TransferLeader.Builder.getPeer()
.metapb.Peer peer = 1; |
Metapb.Peer |
Kvrpcpb.ContextOrBuilder.getPeer()
.metapb.Peer peer = 3; |
Metapb.Peer |
Kvrpcpb.Context.getPeer()
.metapb.Peer peer = 3; |
Metapb.Peer |
Kvrpcpb.Context.Builder.getPeer()
.metapb.Peer peer = 3; |
Metapb.Peer |
RaftCmdpb.TransferLeaderRequestOrBuilder.getPeers(int index)
repeated .metapb.Peer peers = 2; |
Metapb.Peer |
RaftCmdpb.TransferLeaderRequest.getPeers(int index)
repeated .metapb.Peer peers = 2; |
Metapb.Peer |
RaftCmdpb.TransferLeaderRequest.Builder.getPeers(int index)
repeated .metapb.Peer peers = 2; |
Metapb.Peer |
Metapb.RegionOrBuilder.getPeers(int index)
repeated .metapb.Peer peers = 5; |
Metapb.Peer |
Metapb.Region.getPeers(int index)
repeated .metapb.Peer peers = 5; |
Metapb.Peer |
Metapb.Region.Builder.getPeers(int index)
repeated .metapb.Peer peers = 5; |
Metapb.Peer |
Pdpb.TransferLeaderOrBuilder.getPeers(int index)
repeated .metapb.Peer peers = 2; |
Metapb.Peer |
Pdpb.TransferLeader.getPeers(int index)
repeated .metapb.Peer peers = 2; |
Metapb.Peer |
Pdpb.TransferLeader.Builder.getPeers(int index)
repeated .metapb.Peer peers = 2; |
Metapb.Peer |
Pdpb.GetRegionResponseOrBuilder.getPendingPeers(int index)
Pending peers are the peers that the leader can't consider as
working followers.
|
Metapb.Peer |
Pdpb.GetRegionResponse.getPendingPeers(int index)
Pending peers are the peers that the leader can't consider as
working followers.
|
Metapb.Peer |
Pdpb.GetRegionResponse.Builder.getPendingPeers(int index)
Pending peers are the peers that the leader can't consider as
working followers.
|
Metapb.Peer |
Pdpb.RegionOrBuilder.getPendingPeers(int index)
Pending peers are the peers that the leader can't consider as
working followers.
|
Metapb.Peer |
Pdpb.Region.getPendingPeers(int index)
Pending peers are the peers that the leader can't consider as
working followers.
|
Metapb.Peer |
Pdpb.Region.Builder.getPendingPeers(int index)
Pending peers are the peers that the leader can't consider as
working followers.
|
Metapb.Peer |
Pdpb.RegionHeartbeatRequestOrBuilder.getPendingPeers(int index)
Pending peers are the peers that the leader can't consider as
working followers.
|
Metapb.Peer |
Pdpb.RegionHeartbeatRequest.getPendingPeers(int index)
Pending peers are the peers that the leader can't consider as
working followers.
|
Metapb.Peer |
Pdpb.RegionHeartbeatRequest.Builder.getPendingPeers(int index)
Pending peers are the peers that the leader can't consider as
working followers.
|
Metapb.Peer |
Pdpb.SyncRegionResponseOrBuilder.getRegionLeaders(int index)
repeated .metapb.Peer region_leaders = 5; |
Metapb.Peer |
Pdpb.SyncRegionResponse.getRegionLeaders(int index)
repeated .metapb.Peer region_leaders = 5; |
Metapb.Peer |
Pdpb.SyncRegionResponse.Builder.getRegionLeaders(int index)
repeated .metapb.Peer region_leaders = 5; |
Metapb.Peer |
Pdpb.RegionHeartbeatResponseOrBuilder.getTargetPeer()
Leader of the region at the moment of the corresponding request was made.
|
Metapb.Peer |
Pdpb.RegionHeartbeatResponse.getTargetPeer()
Leader of the region at the moment of the corresponding request was made.
|
Metapb.Peer |
Pdpb.RegionHeartbeatResponse.Builder.getTargetPeer()
Leader of the region at the moment of the corresponding request was made.
|
Metapb.Peer |
RaftServerpb.RaftMessageOrBuilder.getToPeer()
.metapb.Peer to_peer = 3; |
Metapb.Peer |
RaftServerpb.RaftMessage.getToPeer()
.metapb.Peer to_peer = 3; |
Metapb.Peer |
RaftServerpb.RaftMessage.Builder.getToPeer()
.metapb.Peer to_peer = 3; |
static Metapb.Peer |
Metapb.Peer.parseDelimitedFrom(InputStream input) |
static Metapb.Peer |
Metapb.Peer.parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Metapb.Peer |
Metapb.Peer.parseFrom(byte[] data) |
static Metapb.Peer |
Metapb.Peer.parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Metapb.Peer |
Metapb.Peer.parseFrom(ByteBuffer data) |
static Metapb.Peer |
Metapb.Peer.parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Metapb.Peer |
Metapb.Peer.parseFrom(com.google.protobuf.ByteString data) |
static Metapb.Peer |
Metapb.Peer.parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Metapb.Peer |
Metapb.Peer.parseFrom(com.google.protobuf.CodedInputStream input) |
static Metapb.Peer |
Metapb.Peer.parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Metapb.Peer |
Metapb.Peer.parseFrom(InputStream input) |
static Metapb.Peer |
Metapb.Peer.parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Modifier and Type | Method and Description |
---|---|
List<Metapb.Peer> |
RaftServerpb.ExtraMessageOrBuilder.getCheckPeersList()
repeated .metapb.Peer check_peers = 3; |
List<Metapb.Peer> |
RaftServerpb.ExtraMessage.getCheckPeersList()
repeated .metapb.Peer check_peers = 3; |
List<Metapb.Peer> |
RaftServerpb.ExtraMessage.Builder.getCheckPeersList()
repeated .metapb.Peer check_peers = 3; |
List<Metapb.Peer> |
Pdpb.ScanRegionsResponseOrBuilder.getLeadersList()
repeated .metapb.Peer leaders = 3; |
List<Metapb.Peer> |
Pdpb.ScanRegionsResponse.getLeadersList()
repeated .metapb.Peer leaders = 3; |
List<Metapb.Peer> |
Pdpb.ScanRegionsResponse.Builder.getLeadersList()
repeated .metapb.Peer leaders = 3; |
com.google.protobuf.Parser<Metapb.Peer> |
Metapb.Peer.getParserForType() |
List<Metapb.Peer> |
RaftCmdpb.TransferLeaderRequestOrBuilder.getPeersList()
repeated .metapb.Peer peers = 2; |
List<Metapb.Peer> |
RaftCmdpb.TransferLeaderRequest.getPeersList()
repeated .metapb.Peer peers = 2; |
List<Metapb.Peer> |
RaftCmdpb.TransferLeaderRequest.Builder.getPeersList()
repeated .metapb.Peer peers = 2; |
List<Metapb.Peer> |
Metapb.RegionOrBuilder.getPeersList()
repeated .metapb.Peer peers = 5; |
List<Metapb.Peer> |
Metapb.Region.getPeersList()
repeated .metapb.Peer peers = 5; |
List<Metapb.Peer> |
Metapb.Region.Builder.getPeersList()
repeated .metapb.Peer peers = 5; |
List<Metapb.Peer> |
Pdpb.TransferLeaderOrBuilder.getPeersList()
repeated .metapb.Peer peers = 2; |
List<Metapb.Peer> |
Pdpb.TransferLeader.getPeersList()
repeated .metapb.Peer peers = 2; |
List<Metapb.Peer> |
Pdpb.TransferLeader.Builder.getPeersList()
repeated .metapb.Peer peers = 2; |
List<Metapb.Peer> |
Pdpb.GetRegionResponseOrBuilder.getPendingPeersList()
Pending peers are the peers that the leader can't consider as
working followers.
|
List<Metapb.Peer> |
Pdpb.GetRegionResponse.getPendingPeersList()
Pending peers are the peers that the leader can't consider as
working followers.
|
List<Metapb.Peer> |
Pdpb.GetRegionResponse.Builder.getPendingPeersList()
Pending peers are the peers that the leader can't consider as
working followers.
|
List<Metapb.Peer> |
Pdpb.RegionOrBuilder.getPendingPeersList()
Pending peers are the peers that the leader can't consider as
working followers.
|
List<Metapb.Peer> |
Pdpb.Region.getPendingPeersList()
Pending peers are the peers that the leader can't consider as
working followers.
|
List<Metapb.Peer> |
Pdpb.Region.Builder.getPendingPeersList()
Pending peers are the peers that the leader can't consider as
working followers.
|
List<Metapb.Peer> |
Pdpb.RegionHeartbeatRequestOrBuilder.getPendingPeersList()
Pending peers are the peers that the leader can't consider as
working followers.
|
List<Metapb.Peer> |
Pdpb.RegionHeartbeatRequest.getPendingPeersList()
Pending peers are the peers that the leader can't consider as
working followers.
|
List<Metapb.Peer> |
Pdpb.RegionHeartbeatRequest.Builder.getPendingPeersList()
Pending peers are the peers that the leader can't consider as
working followers.
|
List<Metapb.Peer> |
Pdpb.SyncRegionResponseOrBuilder.getRegionLeadersList()
repeated .metapb.Peer region_leaders = 5; |
List<Metapb.Peer> |
Pdpb.SyncRegionResponse.getRegionLeadersList()
repeated .metapb.Peer region_leaders = 5; |
List<Metapb.Peer> |
Pdpb.SyncRegionResponse.Builder.getRegionLeadersList()
repeated .metapb.Peer region_leaders = 5; |
static com.google.protobuf.Parser<Metapb.Peer> |
Metapb.Peer.parser() |
Modifier and Type | Method and Description |
---|---|
RaftServerpb.ExtraMessage.Builder |
RaftServerpb.ExtraMessage.Builder.addCheckPeers(int index,
Metapb.Peer value)
repeated .metapb.Peer check_peers = 3; |
RaftServerpb.ExtraMessage.Builder |
RaftServerpb.ExtraMessage.Builder.addCheckPeers(Metapb.Peer value)
repeated .metapb.Peer check_peers = 3; |
Pdpb.ScanRegionsResponse.Builder |
Pdpb.ScanRegionsResponse.Builder.addLeaders(int index,
Metapb.Peer value)
repeated .metapb.Peer leaders = 3; |
Pdpb.ScanRegionsResponse.Builder |
Pdpb.ScanRegionsResponse.Builder.addLeaders(Metapb.Peer value)
repeated .metapb.Peer leaders = 3; |
RaftCmdpb.TransferLeaderRequest.Builder |
RaftCmdpb.TransferLeaderRequest.Builder.addPeers(int index,
Metapb.Peer value)
repeated .metapb.Peer peers = 2; |
Metapb.Region.Builder |
Metapb.Region.Builder.addPeers(int index,
Metapb.Peer value)
repeated .metapb.Peer peers = 5; |
Pdpb.TransferLeader.Builder |
Pdpb.TransferLeader.Builder.addPeers(int index,
Metapb.Peer value)
repeated .metapb.Peer peers = 2; |
RaftCmdpb.TransferLeaderRequest.Builder |
RaftCmdpb.TransferLeaderRequest.Builder.addPeers(Metapb.Peer value)
repeated .metapb.Peer peers = 2; |
Metapb.Region.Builder |
Metapb.Region.Builder.addPeers(Metapb.Peer value)
repeated .metapb.Peer peers = 5; |
Pdpb.TransferLeader.Builder |
Pdpb.TransferLeader.Builder.addPeers(Metapb.Peer value)
repeated .metapb.Peer peers = 2; |
Pdpb.GetRegionResponse.Builder |
Pdpb.GetRegionResponse.Builder.addPendingPeers(int index,
Metapb.Peer value)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.Region.Builder |
Pdpb.Region.Builder.addPendingPeers(int index,
Metapb.Peer value)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.RegionHeartbeatRequest.Builder |
Pdpb.RegionHeartbeatRequest.Builder.addPendingPeers(int index,
Metapb.Peer value)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.GetRegionResponse.Builder |
Pdpb.GetRegionResponse.Builder.addPendingPeers(Metapb.Peer value)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.Region.Builder |
Pdpb.Region.Builder.addPendingPeers(Metapb.Peer value)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.RegionHeartbeatRequest.Builder |
Pdpb.RegionHeartbeatRequest.Builder.addPendingPeers(Metapb.Peer value)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.SyncRegionResponse.Builder |
Pdpb.SyncRegionResponse.Builder.addRegionLeaders(int index,
Metapb.Peer value)
repeated .metapb.Peer region_leaders = 5; |
Pdpb.SyncRegionResponse.Builder |
Pdpb.SyncRegionResponse.Builder.addRegionLeaders(Metapb.Peer value)
repeated .metapb.Peer region_leaders = 5; |
Metapb.Peer.Builder |
Metapb.Peer.Builder.mergeFrom(Metapb.Peer other) |
RaftServerpb.RaftMessage.Builder |
RaftServerpb.RaftMessage.Builder.mergeFromPeer(Metapb.Peer value)
.metapb.Peer from_peer = 2; |
RaftCmdpb.RegionLeaderResponse.Builder |
RaftCmdpb.RegionLeaderResponse.Builder.mergeLeader(Metapb.Peer value)
.metapb.Peer leader = 1; |
RaftCmdpb.RegionDetailResponse.Builder |
RaftCmdpb.RegionDetailResponse.Builder.mergeLeader(Metapb.Peer value)
.metapb.Peer leader = 2; |
Pdpb.GetRegionResponse.Builder |
Pdpb.GetRegionResponse.Builder.mergeLeader(Metapb.Peer value)
.metapb.Peer leader = 3; |
Pdpb.Region.Builder |
Pdpb.Region.Builder.mergeLeader(Metapb.Peer value)
.metapb.Peer leader = 2; |
Pdpb.RegionHeartbeatRequest.Builder |
Pdpb.RegionHeartbeatRequest.Builder.mergeLeader(Metapb.Peer value)
Leader Peer sending the heartbeat.
|
Pdpb.ScatterRegionRequest.Builder |
Pdpb.ScatterRegionRequest.Builder.mergeLeader(Metapb.Peer value)
.metapb.Peer leader = 4; |
Errorpb.NotLeader.Builder |
Errorpb.NotLeader.Builder.mergeLeader(Metapb.Peer value)
Region leader of the requested region
|
RaftCmdpb.ChangePeerRequest.Builder |
RaftCmdpb.ChangePeerRequest.Builder.mergePeer(Metapb.Peer value)
.metapb.Peer peer = 2; |
RaftCmdpb.TransferLeaderRequest.Builder |
RaftCmdpb.TransferLeaderRequest.Builder.mergePeer(Metapb.Peer value)
.metapb.Peer peer = 1; |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.mergePeer(Metapb.Peer value)
.metapb.Peer peer = 2; |
Pdpb.PeerStats.Builder |
Pdpb.PeerStats.Builder.mergePeer(Metapb.Peer value)
.metapb.Peer peer = 1; |
Pdpb.ChangePeer.Builder |
Pdpb.ChangePeer.Builder.mergePeer(Metapb.Peer value)
.metapb.Peer peer = 1; |
Pdpb.TransferLeader.Builder |
Pdpb.TransferLeader.Builder.mergePeer(Metapb.Peer value)
.metapb.Peer peer = 1; |
Kvrpcpb.Context.Builder |
Kvrpcpb.Context.Builder.mergePeer(Metapb.Peer value)
.metapb.Peer peer = 3; |
Pdpb.RegionHeartbeatResponse.Builder |
Pdpb.RegionHeartbeatResponse.Builder.mergeTargetPeer(Metapb.Peer value)
Leader of the region at the moment of the corresponding request was made.
|
RaftServerpb.RaftMessage.Builder |
RaftServerpb.RaftMessage.Builder.mergeToPeer(Metapb.Peer value)
.metapb.Peer to_peer = 3; |
static Metapb.Peer.Builder |
Metapb.Peer.newBuilder(Metapb.Peer prototype) |
RaftServerpb.ExtraMessage.Builder |
RaftServerpb.ExtraMessage.Builder.setCheckPeers(int index,
Metapb.Peer value)
repeated .metapb.Peer check_peers = 3; |
RaftServerpb.RaftMessage.Builder |
RaftServerpb.RaftMessage.Builder.setFromPeer(Metapb.Peer value)
.metapb.Peer from_peer = 2; |
RaftCmdpb.RegionLeaderResponse.Builder |
RaftCmdpb.RegionLeaderResponse.Builder.setLeader(Metapb.Peer value)
.metapb.Peer leader = 1; |
RaftCmdpb.RegionDetailResponse.Builder |
RaftCmdpb.RegionDetailResponse.Builder.setLeader(Metapb.Peer value)
.metapb.Peer leader = 2; |
Pdpb.GetRegionResponse.Builder |
Pdpb.GetRegionResponse.Builder.setLeader(Metapb.Peer value)
.metapb.Peer leader = 3; |
Pdpb.Region.Builder |
Pdpb.Region.Builder.setLeader(Metapb.Peer value)
.metapb.Peer leader = 2; |
Pdpb.RegionHeartbeatRequest.Builder |
Pdpb.RegionHeartbeatRequest.Builder.setLeader(Metapb.Peer value)
Leader Peer sending the heartbeat.
|
Pdpb.ScatterRegionRequest.Builder |
Pdpb.ScatterRegionRequest.Builder.setLeader(Metapb.Peer value)
.metapb.Peer leader = 4; |
Errorpb.NotLeader.Builder |
Errorpb.NotLeader.Builder.setLeader(Metapb.Peer value)
Region leader of the requested region
|
Pdpb.ScanRegionsResponse.Builder |
Pdpb.ScanRegionsResponse.Builder.setLeaders(int index,
Metapb.Peer value)
repeated .metapb.Peer leaders = 3; |
RaftCmdpb.ChangePeerRequest.Builder |
RaftCmdpb.ChangePeerRequest.Builder.setPeer(Metapb.Peer value)
.metapb.Peer peer = 2; |
RaftCmdpb.TransferLeaderRequest.Builder |
RaftCmdpb.TransferLeaderRequest.Builder.setPeer(Metapb.Peer value)
.metapb.Peer peer = 1; |
RaftCmdpb.RaftRequestHeader.Builder |
RaftCmdpb.RaftRequestHeader.Builder.setPeer(Metapb.Peer value)
.metapb.Peer peer = 2; |
Pdpb.PeerStats.Builder |
Pdpb.PeerStats.Builder.setPeer(Metapb.Peer value)
.metapb.Peer peer = 1; |
Pdpb.ChangePeer.Builder |
Pdpb.ChangePeer.Builder.setPeer(Metapb.Peer value)
.metapb.Peer peer = 1; |
Pdpb.TransferLeader.Builder |
Pdpb.TransferLeader.Builder.setPeer(Metapb.Peer value)
.metapb.Peer peer = 1; |
Kvrpcpb.Context.Builder |
Kvrpcpb.Context.Builder.setPeer(Metapb.Peer value)
.metapb.Peer peer = 3; |
RaftCmdpb.TransferLeaderRequest.Builder |
RaftCmdpb.TransferLeaderRequest.Builder.setPeers(int index,
Metapb.Peer value)
repeated .metapb.Peer peers = 2; |
Metapb.Region.Builder |
Metapb.Region.Builder.setPeers(int index,
Metapb.Peer value)
repeated .metapb.Peer peers = 5; |
Pdpb.TransferLeader.Builder |
Pdpb.TransferLeader.Builder.setPeers(int index,
Metapb.Peer value)
repeated .metapb.Peer peers = 2; |
Pdpb.GetRegionResponse.Builder |
Pdpb.GetRegionResponse.Builder.setPendingPeers(int index,
Metapb.Peer value)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.Region.Builder |
Pdpb.Region.Builder.setPendingPeers(int index,
Metapb.Peer value)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.RegionHeartbeatRequest.Builder |
Pdpb.RegionHeartbeatRequest.Builder.setPendingPeers(int index,
Metapb.Peer value)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.SyncRegionResponse.Builder |
Pdpb.SyncRegionResponse.Builder.setRegionLeaders(int index,
Metapb.Peer value)
repeated .metapb.Peer region_leaders = 5; |
Pdpb.RegionHeartbeatResponse.Builder |
Pdpb.RegionHeartbeatResponse.Builder.setTargetPeer(Metapb.Peer value)
Leader of the region at the moment of the corresponding request was made.
|
RaftServerpb.RaftMessage.Builder |
RaftServerpb.RaftMessage.Builder.setToPeer(Metapb.Peer value)
.metapb.Peer to_peer = 3; |
Modifier and Type | Method and Description |
---|---|
RaftServerpb.ExtraMessage.Builder |
RaftServerpb.ExtraMessage.Builder.addAllCheckPeers(Iterable<? extends Metapb.Peer> values)
repeated .metapb.Peer check_peers = 3; |
Pdpb.ScanRegionsResponse.Builder |
Pdpb.ScanRegionsResponse.Builder.addAllLeaders(Iterable<? extends Metapb.Peer> values)
repeated .metapb.Peer leaders = 3; |
RaftCmdpb.TransferLeaderRequest.Builder |
RaftCmdpb.TransferLeaderRequest.Builder.addAllPeers(Iterable<? extends Metapb.Peer> values)
repeated .metapb.Peer peers = 2; |
Metapb.Region.Builder |
Metapb.Region.Builder.addAllPeers(Iterable<? extends Metapb.Peer> values)
repeated .metapb.Peer peers = 5; |
Pdpb.TransferLeader.Builder |
Pdpb.TransferLeader.Builder.addAllPeers(Iterable<? extends Metapb.Peer> values)
repeated .metapb.Peer peers = 2; |
Pdpb.GetRegionResponse.Builder |
Pdpb.GetRegionResponse.Builder.addAllPendingPeers(Iterable<? extends Metapb.Peer> values)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.Region.Builder |
Pdpb.Region.Builder.addAllPendingPeers(Iterable<? extends Metapb.Peer> values)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.RegionHeartbeatRequest.Builder |
Pdpb.RegionHeartbeatRequest.Builder.addAllPendingPeers(Iterable<? extends Metapb.Peer> values)
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.SyncRegionResponse.Builder |
Pdpb.SyncRegionResponse.Builder.addAllRegionLeaders(Iterable<? extends Metapb.Peer> values)
repeated .metapb.Peer region_leaders = 5; |
Copyright © 2024 PingCAP. All rights reserved.