public long getTakeCount() {
        return takeCount.getAndSet(0);
    }
get takeCount

@return the take count
inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/utils/BufferQueue.java