public static interface RaftCmdpb.RaftRequestHeaderOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getAppliedIndex()
Read requests can be responsed directly after the Raft applys to `applied_index`.
|
com.google.protobuf.ByteString |
getFlagData()
bytes flag_data = 11; |
long |
getFlags()
Custom flags for this raft request.
|
Metapb.Peer |
getPeer()
.metapb.Peer peer = 2; |
Metapb.PeerOrBuilder |
getPeerOrBuilder()
.metapb.Peer peer = 2; |
boolean |
getReadQuorum()
true for read linearization
|
Metapb.RegionEpoch |
getRegionEpoch()
.metapb.RegionEpoch region_epoch = 5; |
Metapb.RegionEpochOrBuilder |
getRegionEpochOrBuilder()
.metapb.RegionEpoch region_epoch = 5; |
long |
getRegionId()
uint64 region_id = 1; |
boolean |
getReplicaRead()
bool replica_read = 8; |
boolean |
getSyncLog()
bool sync_log = 7; |
long |
getTerm()
uint64 term = 6; |
com.google.protobuf.ByteString |
getUuid()
16 bytes, to distinguish request.
|
boolean |
hasPeer()
.metapb.Peer peer = 2; |
boolean |
hasRegionEpoch()
.metapb.RegionEpoch region_epoch = 5; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
long getRegionId()
uint64 region_id = 1;
boolean hasPeer()
.metapb.Peer peer = 2;
Metapb.Peer getPeer()
.metapb.Peer peer = 2;
Metapb.PeerOrBuilder getPeerOrBuilder()
.metapb.Peer peer = 2;
boolean getReadQuorum()
true for read linearization
bool read_quorum = 3;
com.google.protobuf.ByteString getUuid()
16 bytes, to distinguish request.
bytes uuid = 4;
boolean hasRegionEpoch()
.metapb.RegionEpoch region_epoch = 5;
Metapb.RegionEpoch getRegionEpoch()
.metapb.RegionEpoch region_epoch = 5;
Metapb.RegionEpochOrBuilder getRegionEpochOrBuilder()
.metapb.RegionEpoch region_epoch = 5;
long getTerm()
uint64 term = 6;
boolean getSyncLog()
bool sync_log = 7;
boolean getReplicaRead()
bool replica_read = 8;
long getAppliedIndex()
Read requests can be responsed directly after the Raft applys to `applied_index`.
uint64 applied_index = 9;
long getFlags()
Custom flags for this raft request.
uint64 flags = 10;
com.google.protobuf.ByteString getFlagData()
bytes flag_data = 11;
Copyright © 2024 PingCAP. All rights reserved.