/// <exception cref="System.IO.IOException"/> public virtual void ReadFields(DataInput @in) { this.taskid.ReadFields(@in); SetProgress(@in.ReadFloat()); this.numSlots = @in.ReadInt(); this.runState = WritableUtils.ReadEnum <TaskStatus.State>(@in); SetDiagnosticInfo(StringInterner.WeakIntern(Text.ReadString(@in))); SetStateString(StringInterner.WeakIntern(Text.ReadString(@in))); this.phase = WritableUtils.ReadEnum <TaskStatus.Phase>(@in); this.startTime = @in.ReadLong(); this.finishTime = @in.ReadLong(); counters = new Counters(); this.includeAllCounters = @in.ReadBoolean(); this.outputSize = @in.ReadLong(); counters.ReadFields(@in); nextRecordRange.ReadFields(@in); }