@Override
    public void invoke(T data, AnalysisContext context) {
        cachedDataList.add(data);
        if (cachedDataList.size() >= batchCount) {
            consumer.accept(cachedDataList);
            cachedDataList = ListUtils.newArrayListWithExpectedSize(batchCount);
        }
    }
Single handle the amount of data
fastexcel-core/src/main/java/cn/idev/excel/read/listener/PageReadListener.java