public void endPrimaryAckSend(long startTime, boolean failed) {
    long duration = getStatTime() - startTime;
    endClientOpSend(duration, failed);
    sendStats.incInt(primaryAckSendInProgressId, -1);
    int endPrimaryAckSendId;
    if (failed) {
      endPrimaryAckSendId = primaryAckSendFailedId;
    } else {
      endPrimaryAckSendId = primaryAckSendId;
    }
    sendStats.incInt(endPrimaryAckSendId, 1);
    sendStats.incLong(primaryAckSendDurationId, duration);
  }
Records that the send part of the primaryAck has completed

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