Exemple #1
0
 // Shouldn't happen since we do implement Clonable
 //////////////////////////////////////////////
 // Writable
 //////////////////////////////////////////////
 /// <exception cref="System.IO.IOException"/>
 public virtual void Write(DataOutput @out)
 {
     taskid.Write(@out);
     @out.WriteFloat(progress);
     @out.WriteInt(numSlots);
     WritableUtils.WriteEnum(@out, runState);
     Text.WriteString(@out, diagnosticInfo);
     Text.WriteString(@out, stateString);
     WritableUtils.WriteEnum(@out, phase);
     @out.WriteLong(startTime);
     @out.WriteLong(finishTime);
     @out.WriteBoolean(includeAllCounters);
     @out.WriteLong(outputSize);
     counters.Write(@out);
     nextRecordRange.Write(@out);
 }