public void endBucketCreate(int regions, boolean success, long bytes, long elapsed) {
    stats.incLong(rebalanceBucketCreatesInProgressId, -regions);
    stats.incLong(rebalanceBucketCreateTimeId, elapsed);
    if (success) {
      stats.incLong(rebalanceBucketCreatesCompletedId, regions);
      stats.incLong(rebalanceBucketCreateBytesId, bytes);
    } else {
      stats.incLong(rebalanceBucketCreatesFailedId, regions);
    }
  }
Contains methods for manipulating resource manager statistics.
geode-core/src/main/java/org/apache/geode/internal/cache/control/ResourceManagerStats.java