public void endRebalance(long start) {
    long elapsed = System.nanoTime() - start;
    stats.incLong(rebalancesInProgressId, -1L);
    stats.incLong(rebalancesCompletedId, 1L);
    stats.incLong(rebalanceTimeId, elapsed);
  }
Contains methods for manipulating resource manager statistics.
geode-core/src/main/java/org/apache/geode/internal/cache/control/ResourceManagerStats.java