public void incVolunteeringThreads(int val) {
    stats.incLong(volunteeringThreadsId, val);
  }
This method sets the end time for putAll and updates the counters
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegionStats.java