public long startApplyReplication() {
    stats.incLong(applyReplicationInProgressId, 1);
    return clock.getTime();
  }
This method sets the end time for update and updates the counters
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegionStats.java