public void addFileFlushStatsInfo(int msgCnt, int msgIndexSize, int msgDataSize,
            long flushedMsgCnt, long flushedDataSize,
            boolean isDataSegFlush, boolean isIndexSegFlush,
            boolean isDataSizeFull, boolean isMsgCntFull,
            boolean isCacheTimeFull, boolean isForceMetadata,
            long dltAppendTime) {
        if (isClosed) {
            return;
        }
        MsgStoreStatsItemSet tmStatsSet = msgStoreStatsSets[getIndex()];
        tmStatsSet.fileAccumMsgCnt.addValue(msgCnt);
        tmStatsSet.fileAccumMsgIndexSize.addValue(msgIndexSize);
        tmStatsSet.fileAccumMsgDataSize.addValue(msgDataSize);
        tmStatsSet.fileFlusheDurStats.update(dltAppendTime);
        if (flushedDataSize > 0) {
            tmStatsSet.fileFlushedDataSize.update(flushedDataSize);
        }
        if (flushedMsgCnt > 0) {
            tmStatsSet.fileFlushedMsgCnt.update(flushedMsgCnt);
        }
        if (isDataSegFlush) {
            tmStatsSet.fileDataSegAddCnt.incValue();
        }
        if (isIndexSegFlush) {
            tmStatsSet.fileIndexSegAddCnt.incValue();
        }
        if (isDataSizeFull) {
            tmStatsSet.fileDataSizeFullCnt.incValue();
        }
        if (isMsgCntFull) {
            tmStatsSet.fileMsgCountFullCnt.incValue();
        }
        if (isCacheTimeFull) {
            tmStatsSet.fileCachedTimeFullCnt.incValue();
        }
        if (isForceMetadata) {
            tmStatsSet.fileMetaFlushCnt.incValue();
        }
    }
Add message store statistics information.

@param msgCnt             the message count written
@param msgIndexSize       the message index size written
@param msgDataSize        the message data size written
@param flushedMsgCnt      the flushed message count
@param flushedDataSize    the flushed message size
@param isDataSegFlush     whether the data segment flushed
@param isIndexSegFlush    whether the index segment flushed
@param isDataSizeFull     whether the cached data is full
@param isMsgCntFull       whether the cached message count is full
@param isCacheTimeFull    whether the cached time is full
@param isForceMetadata    whether force push metadata
@param dltAppendTime      the duration of the append operation
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/broker/stats/MsgStoreStatsHolder.java