public void endVolunteeringClosed(long start) {
    long ts = clock.getTime();
    stats.incLong(volunteeringInProgressId, -1);
    stats.incLong(volunteeringClosedId, 1);
    if (clock.isEnabled()) {
      long time = ts - start;
      stats.incLong(volunteeringClosedTimeId, time);
    }
  }
This method sets the end time for putAll and updates the counters
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegionStats.java