public void endUnregisterInterestSend(long startTime, boolean failed) {
    long duration = getStatTime() - startTime;
    endClientOpSend(duration, failed);
    sendStats.incInt(unregisterInterestSendInProgressId, -1);
    int endUnregisterInterestSendId;
    if (failed) {
      endUnregisterInterestSendId = unregisterInterestSendFailedId;
    } else {
      endUnregisterInterestSendId = unregisterInterestSendId;
    }
    sendStats.incInt(endUnregisterInterestSendId, 1);
    sendStats.incLong(unregisterInterestSendDurationId, duration);
  }
Records that the send part of the unregisterInterest has completed

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