public static interface Pdpb.RegionHeartbeatRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getApproximateKeys()
Approximate number of keys.
|
long |
getApproximateSize()
Approximate region size.
|
long |
getBytesRead()
uint64 bytes_read = 7; |
long |
getBytesWritten()
Bytes read/written during this period.
|
long |
getCpuUsage()
cpu_usage is the CPU time usage of the leader region since the last heartbeat,
which is calculated by cpu_time_delta/heartbeat_reported_interval.
|
Pdpb.PeerStats |
getDownPeers(int index)
Leader considers that these peers are down.
|
int |
getDownPeersCount()
Leader considers that these peers are down.
|
List<Pdpb.PeerStats> |
getDownPeersList()
Leader considers that these peers are down.
|
Pdpb.PeerStatsOrBuilder |
getDownPeersOrBuilder(int index)
Leader considers that these peers are down.
|
List<? extends Pdpb.PeerStatsOrBuilder> |
getDownPeersOrBuilderList()
Leader considers that these peers are down.
|
Pdpb.RequestHeader |
getHeader()
.pdpb.RequestHeader header = 1; |
Pdpb.RequestHeaderOrBuilder |
getHeaderOrBuilder()
.pdpb.RequestHeader header = 1; |
Pdpb.TimeInterval |
getInterval()
Actually reported time interval
|
Pdpb.TimeIntervalOrBuilder |
getIntervalOrBuilder()
Actually reported time interval
|
long |
getKeysRead()
uint64 keys_read = 9; |
long |
getKeysWritten()
Keys read/written during this period.
|
Metapb.Peer |
getLeader()
Leader Peer sending the heartbeat.
|
Metapb.PeerOrBuilder |
getLeaderOrBuilder()
Leader Peer sending the heartbeat.
|
Metapb.Peer |
getPendingPeers(int index)
Pending peers are the peers that the leader can't consider as
working followers.
|
int |
getPendingPeersCount()
Pending peers are the peers that the leader can't consider as
working followers.
|
List<Metapb.Peer> |
getPendingPeersList()
Pending peers are the peers that the leader can't consider as
working followers.
|
Metapb.PeerOrBuilder |
getPendingPeersOrBuilder(int index)
Pending peers are the peers that the leader can't consider as
working followers.
|
List<? extends Metapb.PeerOrBuilder> |
getPendingPeersOrBuilderList()
Pending peers are the peers that the leader can't consider as
working followers.
|
Pdpb.QueryStats |
getQueryStats()
QueryStats reported write query stats, and there are read query stats in store heartbeat
|
Pdpb.QueryStatsOrBuilder |
getQueryStatsOrBuilder()
QueryStats reported write query stats, and there are read query stats in store heartbeat
|
Metapb.Region |
getRegion()
.metapb.Region region = 2; |
Metapb.RegionOrBuilder |
getRegionOrBuilder()
.metapb.Region region = 2; |
ReplicationModepb.RegionReplicationStatus |
getReplicationStatus()
.replication_modepb.RegionReplicationStatus replication_status = 15; |
ReplicationModepb.RegionReplicationStatusOrBuilder |
getReplicationStatusOrBuilder()
.replication_modepb.RegionReplicationStatus replication_status = 15; |
long |
getTerm()
Term is the term of raft group.
|
boolean |
hasHeader()
.pdpb.RequestHeader header = 1; |
boolean |
hasInterval()
Actually reported time interval
|
boolean |
hasLeader()
Leader Peer sending the heartbeat.
|
boolean |
hasQueryStats()
QueryStats reported write query stats, and there are read query stats in store heartbeat
|
boolean |
hasRegion()
.metapb.Region region = 2; |
boolean |
hasReplicationStatus()
.replication_modepb.RegionReplicationStatus replication_status = 15; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasHeader()
.pdpb.RequestHeader header = 1;
Pdpb.RequestHeader getHeader()
.pdpb.RequestHeader header = 1;
Pdpb.RequestHeaderOrBuilder getHeaderOrBuilder()
.pdpb.RequestHeader header = 1;
boolean hasRegion()
.metapb.Region region = 2;
Metapb.Region getRegion()
.metapb.Region region = 2;
Metapb.RegionOrBuilder getRegionOrBuilder()
.metapb.Region region = 2;
boolean hasLeader()
Leader Peer sending the heartbeat.
.metapb.Peer leader = 3;
Metapb.Peer getLeader()
Leader Peer sending the heartbeat.
.metapb.Peer leader = 3;
Metapb.PeerOrBuilder getLeaderOrBuilder()
Leader Peer sending the heartbeat.
.metapb.Peer leader = 3;
List<Pdpb.PeerStats> getDownPeersList()
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;
Pdpb.PeerStats getDownPeers(int index)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;
int getDownPeersCount()
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;
List<? extends Pdpb.PeerStatsOrBuilder> getDownPeersOrBuilderList()
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;
Pdpb.PeerStatsOrBuilder getDownPeersOrBuilder(int index)
Leader considers that these peers are down.
repeated .pdpb.PeerStats down_peers = 4;
List<Metapb.Peer> getPendingPeersList()
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 5;
Metapb.Peer getPendingPeers(int index)
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 5;
int getPendingPeersCount()
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 5;
List<? extends Metapb.PeerOrBuilder> getPendingPeersOrBuilderList()
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 5;
Metapb.PeerOrBuilder getPendingPeersOrBuilder(int index)
Pending peers are the peers that the leader can't consider as working followers.
repeated .metapb.Peer pending_peers = 5;
long getBytesWritten()
Bytes read/written during this period.
uint64 bytes_written = 6;
long getBytesRead()
uint64 bytes_read = 7;
long getKeysWritten()
Keys read/written during this period.
uint64 keys_written = 8;
long getKeysRead()
uint64 keys_read = 9;
long getApproximateSize()
Approximate region size.
uint64 approximate_size = 10;
boolean hasInterval()
Actually reported time interval
.pdpb.TimeInterval interval = 12;
Pdpb.TimeInterval getInterval()
Actually reported time interval
.pdpb.TimeInterval interval = 12;
Pdpb.TimeIntervalOrBuilder getIntervalOrBuilder()
Actually reported time interval
.pdpb.TimeInterval interval = 12;
long getApproximateKeys()
Approximate number of keys.
uint64 approximate_keys = 13;
long getTerm()
Term is the term of raft group.
uint64 term = 14;
boolean hasReplicationStatus()
.replication_modepb.RegionReplicationStatus replication_status = 15;
ReplicationModepb.RegionReplicationStatus getReplicationStatus()
.replication_modepb.RegionReplicationStatus replication_status = 15;
ReplicationModepb.RegionReplicationStatusOrBuilder getReplicationStatusOrBuilder()
.replication_modepb.RegionReplicationStatus replication_status = 15;
boolean hasQueryStats()
QueryStats reported write query stats, and there are read query stats in store heartbeat
.pdpb.QueryStats query_stats = 16;
Pdpb.QueryStats getQueryStats()
QueryStats reported write query stats, and there are read query stats in store heartbeat
.pdpb.QueryStats query_stats = 16;
Pdpb.QueryStatsOrBuilder getQueryStatsOrBuilder()
QueryStats reported write query stats, and there are read query stats in store heartbeat
.pdpb.QueryStats query_stats = 16;
long getCpuUsage()
cpu_usage is the CPU time usage of the leader region since the last heartbeat, which is calculated by cpu_time_delta/heartbeat_reported_interval.
uint64 cpu_usage = 17;
Copyright © 2024 PingCAP. All rights reserved.