public void endKeySetSend(long startTime, boolean failed) {
    long duration = getStatTime() - startTime;
    endClientOpSend(duration, failed);
    sendStats.incInt(keySetSendInProgressId, -1);
    int endKeySetSendId;
    if (failed) {
      endKeySetSendId = keySetSendFailedId;
    } else {
      endKeySetSendId = keySetSendId;
    }
    sendStats.incInt(endKeySetSendId, 1);
    sendStats.incLong(keySetSendDurationId, duration);
  }
Records that the send part of the keySet has completed

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