private void addInflight(final RequestType reqType, final long startIndex, final int count, final int size,
                             final int seq, final Future<Message> rpcInfly) {
        this.rpcInFly = new Inflight(reqType, startIndex, count, size, seq, rpcInfly);
        this.inflights.add(this.rpcInFly);
        this.nodeMetrics.recordSize(name(this.metricName, "replicate-inflights-count"), this.inflights.size());
    }
Adds a in-flight request
@param reqType   type of request
@param count     count if request
@param size      size in bytes
jraft-core/src/main/java/com/alipay/sofa/jraft/core/Replicator.java