@Override
  public void write(DataOutput out) throws IOException {
    Text.writeString(out, getHostName());
    out.writeInt(getNumCpu());
    out.writeDouble(getCpuTotalGHz());
    out.writeDouble(getMemTotalGB());
    out.writeDouble(getCpuUsageGHz());
    out.writeDouble(getMemUsageGB());
  }
@ Override public void write ( DataOutput out ) throws IOException { Text . writeString ( out , getHostName ( ) ) ; out . writeInt ( getNumCpu ( ) ) ; out . writeDouble ( getCpuTotalGHz ( ) ) ; out . writeDouble ( getMemTotalGB ( ) ) ; out . writeDouble ( getCpuUsageGHz ( ) ) ; out . writeDouble ( getMemUsageGB ( ) ) ; }
////////////////////////////////////////////////