code: public void write(DataOutput out) throws IOException {
      taskId.write(out); 
      WritableUtils.writeVInt(out, idWithinJob);
      out.writeBoolean(isMap);
      WritableUtils.writeEnum(out, status); 
      WritableUtils.writeString(out, taskTrackerHttp);
      WritableUtils.writeVInt(out, taskRunTime);
      WritableUtils.writeVInt(out, eventId);
    }
docs: ////////////////////////////////////////////