public void endQuerySend(long startTime, boolean failed) {
    long duration = getStatTime() - startTime;
    endClientOpSend(duration, failed);
    sendStats.incInt(querySendInProgressId, -1);
    int endQuerySendId;
    if (failed) {
      endQuerySendId = querySendFailedId;
    } else {
      endQuerySendId = querySendId;
    }
    sendStats.incInt(endQuerySendId, 1);
    sendStats.incLong(querySendDurationId, duration);
  }
Records that the send part of the query has completed

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