public void endDestroy(long startTime, boolean timedOut, boolean failed) {
    long duration = getStatTime() - startTime;
    endClientOp(duration, timedOut, failed);
    stats.incInt(destroyInProgressId, -1);
    int endDestroyId;
    if (timedOut) {
      endDestroyId = destroyTimedOutId;
    } else if (failed) {
      endDestroyId = destroyFailedId;
    } else {
      endDestroyId = destroyId;
    }
    stats.incLong(endDestroyId, 1);
    stats.incLong(destroyDurationId, duration);
  }
Records that the specified destroy has ended

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