public final class LogAppenderMetrics extends RatisMetrics
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
FOLLOWER_MATCH_INDEX |
static String |
FOLLOWER_NEXT_INDEX |
static String |
FOLLOWER_RPC_RESP_TIME |
static String |
RATIS_LOG_APPENDER_METRICS |
static String |
RATIS_LOG_APPENDER_METRICS_DESC |
RATIS_APPLICATION_NAME_METRICS| 构造器和说明 |
|---|
LogAppenderMetrics(RaftGroupMemberId groupMemberId) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addFollowerGauges(RaftPeerId id,
LongSupplier getNextIndex,
LongSupplier getMatchIndex,
Supplier<Timestamp> getLastRpcTime) |
create, getHeartbeatSuffix, getRegistry, newCounterMap, newCounterMaps, newHeartbeatCounter, newHeartbeatTimer, newTimerMap, unregisterpublic static final String RATIS_LOG_APPENDER_METRICS_DESC
public LogAppenderMetrics(RaftGroupMemberId groupMemberId)
public void addFollowerGauges(RaftPeerId id, LongSupplier getNextIndex, LongSupplier getMatchIndex, Supplier<Timestamp> getLastRpcTime)
Copyright © 2017–2025 The Apache Software Foundation. All rights reserved.