public synchronized void getMsgStoreStatsInfo(boolean isSwitch, StringBuilder strBuff) {
        this.activeStatsBaseCall();
        strBuff.append("[");
        getStatsValue(false,
                msgStoreStatsSets[getIndex(writableIndex.get() - 1)], strBuff);
        strBuff.append(",");
        getStatsValue(true, msgStoreStatsSets[getIndex()], strBuff);
        strBuff.append("]");
        if (isSwitch) {
            switchStatsSets();
        }
    }
Get current message store statistics information. Contains the data results of
the current statistics and the previous snapshot

@param isSwitch  whether to switch the writing statistics block
@param strBuff   the return information
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/broker/stats/MsgStoreStatsHolder.java