public void refreshAgeOfLastShippedOp(String walGroupId) {
    Long lastTimestamp = this.lastShippedTimeStamps.get(walGroupId);
    if (lastTimestamp == null) {
      this.lastShippedTimeStamps.put(walGroupId, 0L);
      lastTimestamp = 0L;
    }
    if (lastTimestamp > 0) {
      setAgeOfLastShippedOp(lastTimestamp, walGroupId);
    }
  }
Convenience method to use the last given timestamp to refresh the age of the last edit. Used
when replication fails and need to keep that metric accurate.
@param walGroupId id of the group to update
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/MetricsSource.java