public void endUnregisterInterest(long startTime, boolean timedOut, boolean failed) {
    long duration = getStatTime() - startTime;
    endClientOp(duration, timedOut, failed);
    stats.incInt(unregisterInterestInProgressId, -1);
    int endUnregisterInterestId;
    if (timedOut) {
      endUnregisterInterestId = unregisterInterestTimedOutId;
    } else if (failed) {
      endUnregisterInterestId = unregisterInterestFailedId;
    } else {
      endUnregisterInterestId = unregisterInterestId;
    }
    stats.incInt(endUnregisterInterestId, 1);
    stats.incLong(unregisterInterestDurationId, duration);
  }
Records that the specified unregisterInterest has ended

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