@Override
  public void write(DataOutput out) throws IOException {
    super.write(out);
    out.writeLong(myTimestamp);
    out.writeBoolean(isReadOnly);
    myContent.write(out);
  }
@Override
  public void write(DataOutput out)