public int getMaxCnt() {
        return maxCnt;
    }
addAndGet
@param key
@param cnt
@param packcnt
@param packsize
@param failcnt
inlong-common/src/main/java/org/apache/inlong/common/monitor/MonitorIndex.java