public void endCloseCQSend(long startTime, boolean failed) {
    long duration = getStatTime() - startTime;
    endClientOpSend(duration, failed);
    sendStats.incInt(closeCQSendInProgressId, -1);
    int endCloseCQSendId;
    if (failed) {
      endCloseCQSendId = closeCQSendFailedId;
    } else {
      endCloseCQSendId = closeCQSendId;
    }
    sendStats.incInt(endCloseCQSendId, 1);
    sendStats.incLong(closeCQSendDurationId, duration);
  }
Records that the send part of the closeCQ has completed

@param startTime the value returned by {@link #startCloseCQ}.
@param failed true if the send of the closeCQ failed
geode-core/src/main/java/org/apache/geode/cache/client/internal/ConnectionStats.java