public void endReadyForEventsSend(long startTime, boolean failed) {
    long duration = getStatTime() - startTime;
    endClientOpSend(duration, failed);
    sendStats.incInt(readyForEventsSendInProgressId, -1);
    int endReadyForEventsSendId;
    if (failed) {
      endReadyForEventsSendId = readyForEventsSendFailedId;
    } else {
      endReadyForEventsSendId = readyForEventsSendId;
    }
    sendStats.incInt(endReadyForEventsSendId, 1);
    sendStats.incLong(readyForEventsSendDurationId, duration);
  }
Records that the send part of the readyForEvents has completed

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