public ConsensusGroupStatistics getCurrentStatistics() {
    return (ConsensusGroupStatistics) currentStatistics.get();
  }
ConsensusGroupCache caches the ConsensusGroupHeartbeatSamples of a consensus group. Update and
cache the current statistics of the consensus group based on the latest
ConsensusGroupHeartbeatSample.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/cache/consensus/ConsensusGroupCache.java