public void setAgeOfLastShippedOp(long timestamp, String walGroup) {
    long age = EnvironmentEdgeManager.currentTime() - timestamp;
    singleSourceSource.setLastShippedAge(age);
    globalSourceSource.setLastShippedAge(age);
    this.ageOfLastShippedOp.put(walGroup, age);
    this.lastShippedTimeStamps.put(walGroup, timestamp);
  }
Set the age of the last edit that was shipped
@param timestamp target write time of the edit
@param walGroup  which group we are setting
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/MetricsSource.java