public void endClearSend(long startTime, boolean failed) {
    long duration = getStatTime() - startTime;
    endClientOpSend(duration, failed);
    sendStats.incInt(clearSendInProgressId, -1);
    int endClearSendId;
    if (failed) {
      endClearSendId = clearSendFailedId;
    } else {
      endClearSendId = clearSendId;
    }
    sendStats.incInt(endClearSendId, 1);
    sendStats.incLong(clearSendDurationId, duration);
  }
Records that the send part of the clear has completed

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