private void checkAndPrintStatus(int printCnt, long outputTime) {
        if (printCnt > maxStatsCnt) {
            LOGGER.warn("{} print {} items, over max allowed count {}",
                    this.threadName, printCnt, this.maxStatsCnt);
        }
        if (outputTime > MAX_PRINT_TIME_MS) {
            LOGGER.warn("{} print items wasts {} ms", this.threadName, outputTime);
        }
    }
Gets the read index

@return the read block index
inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/metrics/stats/AbsStatsDaemon.java