public boolean updateLatestStamp(final byte[] now) {
    if (this.isLatestTimestamp()) {
      int tsOffset = getTimestampOffset();
      System.arraycopy(now, 0, this.bytes, tsOffset, Bytes.SIZEOF_LONG);
      // clear cache or else getTimestamp() possibly returns an old value
      return true;
    }
    return false;
  }
Update the timestamp.
@param now Time to set into <code>this</code> IFF timestamp ==
           {@link HConstants#LATEST_TIMESTAMP} (else, its a noop).
@return True is we modified this.
hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java