예제 #1
0
  /** {@inheritDoc} */
  @Override
  public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    jobName = U.readString(in);
    user = U.readString(in);

    hasCombiner = in.readBoolean();
    numReduces = in.readInt();

    props = U.readStringMap(in);
  }
예제 #2
0
  /** {@inheritDoc} */
  @Override
  public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    depEnabled = in.readBoolean();

    if (depEnabled) {
      topicBytes = U.readByteArray(in);
      predBytes = U.readByteArray(in);
      clsName = U.readString(in);
      depInfo = (GridDeploymentInfoBean) in.readObject();
    } else {
      topic = in.readObject();
      pred = (GridBiPredicate<UUID, Object>) in.readObject();
    }
  }
예제 #3
0
 /**
  * @param in TODO
  * @throws IOException TODO
  * @throws ClassNotFoundException TODO
  */
 private void readObject(ObjectInput in) throws IOException, ClassNotFoundException {
   var1 = U.readString(in);
   var2 = U.readString(in);
   map = U.readMap(in);
   exprStr = U.readString(in);
 }