Example #1
0
 @Override
 public void readFrom(DataInput input) throws IOException {
   isScheduled = input.readBoolean();
   state = input.readString();
   step = input.readString();
   startTime = input.readLong();
   endTime = input.readLong();
   progressRate = input.readInt();
 }
 @Override
 public void readFrom(DataInput input) throws IOException {
   nodeId = input.readString();
   isRequest = input.readBoolean();
   servicePort = input.readInt();
 }