public static boolean updateLatestStamp(Cell cell, byte[] ts) throws IOException {
    if (cell.getTimestamp() == HConstants.LATEST_TIMESTAMP) {
      setTimestamp(cell, ts);
      return true;
    }
    return false;
  }
Sets the given timestamp to the cell iff current timestamp is
{@link HConstants#LATEST_TIMESTAMP}.
@return True if cell timestamp is modified.
@throws IOException when the passed cell is not of type {@link ExtendedCell}
hbase-common/src/main/java/org/apache/hadoop/hbase/PrivateCellUtil.java