public synchronized void chkStatsExpired(long checkTime) {
        if (!this.isClosed) {
            if ((checkTime - this.lstQueryTime.get()) >= TServerConstants.CFG_STORE_STATS_MAX_REFRESH_DURATION) {
                this.isClosed = true;
            }
        }
    }
Check whether has exceeded the maximum self-statistics period.

@param checkTime   the check time
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/broker/stats/MsgStoreStatsHolder.java