public void endClientOp(long duration, boolean timedOut, boolean failed) {
    _stats.incInt(clientOpInProgressId, -1);
    int endClientOpId;
    if (timedOut) {
      endClientOpId = clientOpTimedOutId;
    } else if (failed) {
      endClientOpId = clientOpFailedId;
    } else {
      endClientOpId = clientOpId;
    }
    _stats.incInt(endClientOpId, 1);
    _stats.incLong(clientOpDurationId, duration);
  }
The Statistics object that we delegate most behavior to
geode-core/src/main/java/org/apache/geode/internal/cache/PoolStats.java