ReplicaStatDefinition.GROUP_NAME,
VLSNIndexStatDefinition.GROUP_NAME};
}
private void addMessageRateStats() {
@SuppressWarnings("unused")
IntegralRateStat msgReadRate =
new IntegralRateStat(protocolStats, MESSAGE_READ_RATE,
protocolStats.getLongStat(N_MESSAGES_READ),
protocolStats.getLongStat(N_READ_NANOS),
1000000000);
@SuppressWarnings("unused")
IntegralRateStat msgWriteRate =
new IntegralRateStat(protocolStats,
MESSAGE_WRITE_RATE,
protocolStats.getLongStat(N_MESSAGES_WRITTEN),
protocolStats.getLongStat(N_WRITE_NANOS),
1000000000);
}