public class RaftLogMetricsBase extends RatisMetrics implements RaftLogMetrics
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_LOG_ENTRY_COUNT |
static String |
METADATA_LOG_ENTRY_COUNT |
static String |
RATIS_LOG_WORKER_METRICS |
static String |
RATIS_LOG_WORKER_METRICS_DESC |
static String |
STATE_MACHINE_LOG_ENTRY_COUNT |
RATIS_APPLICATION_NAME_METRICS| Constructor and Description |
|---|
RaftLogMetricsBase(RaftGroupMemberId serverId) |
| Modifier and Type | Method and Description |
|---|---|
static RatisMetricRegistry |
createRegistry(RaftGroupMemberId serverId) |
void |
onLogEntryCommitted(LogEntryHeader header) |
create, getHeartbeatSuffix, getRegistry, newCounterMaps, newHeartbeatCounter, newHeartbeatTimer, newTimerMap, unregisterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonStateMachineDataReadTimeout, onStateMachineDataWriteTimeoutpublic static final String RATIS_LOG_WORKER_METRICS_DESC
public static final String RATIS_LOG_WORKER_METRICS
public static final String METADATA_LOG_ENTRY_COUNT
public static final String CONFIG_LOG_ENTRY_COUNT
public static final String STATE_MACHINE_LOG_ENTRY_COUNT
public RaftLogMetricsBase(RaftGroupMemberId serverId)
public static RatisMetricRegistry createRegistry(RaftGroupMemberId serverId)
public void onLogEntryCommitted(LogEntryHeader header)
onLogEntryCommitted in interface RaftLogMetricsCopyright © 2017–2023 The Apache Software Foundation. All rights reserved.