public void endCreateCQSend(long startTime, boolean failed) {
    long duration = getStatTime() - startTime;
    endClientOpSend(duration, failed);
    sendStats.incInt(createCQSendInProgressId, -1);
    int endCreateCQSendId;
    if (failed) {
      endCreateCQSendId = createCQSendFailedId;
    } else {
      endCreateCQSendId = createCQSendId;
    }
    sendStats.incInt(endCreateCQSendId, 1);
    sendStats.incLong(createCQSendDurationId, duration);
  }
Records that the send part of the createCQ has completed

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