public void endRegisterInterestSend(long startTime, boolean failed) {
    long duration = getStatTime() - startTime;
    endClientOpSend(duration, failed);
    sendStats.incInt(registerInterestSendInProgressId, -1);
    int endRegisterInterestSendId;
    if (failed) {
      endRegisterInterestSendId = registerInterestSendFailedId;
    } else {
      endRegisterInterestSendId = registerInterestSendId;
    }
    sendStats.incInt(endRegisterInterestSendId, 1);
    sendStats.incLong(registerInterestSendDurationId, duration);
  }
Records that the send part of the registerInterest has completed

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