public void endMakePrimarySend(long startTime, boolean failed) {
    long duration = getStatTime() - startTime;
    endClientOpSend(duration, failed);
    sendStats.incInt(makePrimarySendInProgressId, -1);
    int endMakePrimarySendId;
    if (failed) {
      endMakePrimarySendId = makePrimarySendFailedId;
    } else {
      endMakePrimarySendId = makePrimarySendId;
    }
    sendStats.incInt(endMakePrimarySendId, 1);
    sendStats.incLong(makePrimarySendDurationId, duration);
  }
Records that the send part of the makePrimary has completed

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