You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by pt...@apache.org on 2015/11/05 21:41:11 UTC

[32/60] [abbrv] [partial] storm git commit: Release 2.0.4-SNAPSHOT

http://git-wip-us.apache.org/repos/asf/storm/blob/e935da91/jstorm-client/src/main/java/backtype/storm/generated/TaskStats.java
----------------------------------------------------------------------
diff --git a/jstorm-client/src/main/java/backtype/storm/generated/TaskStats.java b/jstorm-client/src/main/java/backtype/storm/generated/TaskStats.java
deleted file mode 100644
index da38eb0..0000000
--- a/jstorm-client/src/main/java/backtype/storm/generated/TaskStats.java
+++ /dev/null
@@ -1,1285 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.7.0)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- */
-package backtype.storm.generated;
-
-import org.apache.commons.lang.builder.HashCodeBuilder;
-import java.util.List;
-import java.util.ArrayList;
-import java.util.Map;
-import java.util.HashMap;
-import java.util.EnumMap;
-import java.util.Set;
-import java.util.HashSet;
-import java.util.EnumSet;
-import java.util.Collections;
-import java.util.BitSet;
-import java.nio.ByteBuffer;
-import java.util.Arrays;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class TaskStats implements org.apache.thrift7.TBase<TaskStats, TaskStats._Fields>, java.io.Serializable, Cloneable {
-  private static final org.apache.thrift7.protocol.TStruct STRUCT_DESC = new org.apache.thrift7.protocol.TStruct("TaskStats");
-
-  private static final org.apache.thrift7.protocol.TField EMITTED_FIELD_DESC = new org.apache.thrift7.protocol.TField("emitted", org.apache.thrift7.protocol.TType.MAP, (short)1);
-  private static final org.apache.thrift7.protocol.TField SEND_TPS_FIELD_DESC = new org.apache.thrift7.protocol.TField("send_tps", org.apache.thrift7.protocol.TType.MAP, (short)2);
-  private static final org.apache.thrift7.protocol.TField RECV_TPS_FIELD_DESC = new org.apache.thrift7.protocol.TField("recv_tps", org.apache.thrift7.protocol.TType.MAP, (short)3);
-  private static final org.apache.thrift7.protocol.TField ACKED_FIELD_DESC = new org.apache.thrift7.protocol.TField("acked", org.apache.thrift7.protocol.TType.MAP, (short)4);
-  private static final org.apache.thrift7.protocol.TField FAILED_FIELD_DESC = new org.apache.thrift7.protocol.TField("failed", org.apache.thrift7.protocol.TType.MAP, (short)5);
-  private static final org.apache.thrift7.protocol.TField PROCESS_MS_AVG_FIELD_DESC = new org.apache.thrift7.protocol.TField("process_ms_avg", org.apache.thrift7.protocol.TType.MAP, (short)6);
-
-  private Map<String,Map<String,Long>> emitted; // required
-  private Map<String,Map<String,Double>> send_tps; // required
-  private Map<String,Map<GlobalStreamId,Double>> recv_tps; // required
-  private Map<String,Map<GlobalStreamId,Long>> acked; // required
-  private Map<String,Map<GlobalStreamId,Long>> failed; // required
-  private Map<String,Map<GlobalStreamId,Double>> process_ms_avg; // required
-
-  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-  public enum _Fields implements org.apache.thrift7.TFieldIdEnum {
-    EMITTED((short)1, "emitted"),
-    SEND_TPS((short)2, "send_tps"),
-    RECV_TPS((short)3, "recv_tps"),
-    ACKED((short)4, "acked"),
-    FAILED((short)5, "failed"),
-    PROCESS_MS_AVG((short)6, "process_ms_avg");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // EMITTED
-          return EMITTED;
-        case 2: // SEND_TPS
-          return SEND_TPS;
-        case 3: // RECV_TPS
-          return RECV_TPS;
-        case 4: // ACKED
-          return ACKED;
-        case 5: // FAILED
-          return FAILED;
-        case 6: // PROCESS_MS_AVG
-          return PROCESS_MS_AVG;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-
-  public static final Map<_Fields, org.apache.thrift7.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift7.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift7.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.EMITTED, new org.apache.thrift7.meta_data.FieldMetaData("emitted", org.apache.thrift7.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift7.meta_data.MapMetaData(org.apache.thrift7.protocol.TType.MAP, 
-            new org.apache.thrift7.meta_data.FieldValueMetaData(org.apache.thrift7.protocol.TType.STRING), 
-            new org.apache.thrift7.meta_data.MapMetaData(org.apache.thrift7.protocol.TType.MAP, 
-                new org.apache.thrift7.meta_data.FieldValueMetaData(org.apache.thrift7.protocol.TType.STRING), 
-                new org.apache.thrift7.meta_data.FieldValueMetaData(org.apache.thrift7.protocol.TType.I64)))));
-    tmpMap.put(_Fields.SEND_TPS, new org.apache.thrift7.meta_data.FieldMetaData("send_tps", org.apache.thrift7.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift7.meta_data.MapMetaData(org.apache.thrift7.protocol.TType.MAP, 
-            new org.apache.thrift7.meta_data.FieldValueMetaData(org.apache.thrift7.protocol.TType.STRING), 
-            new org.apache.thrift7.meta_data.MapMetaData(org.apache.thrift7.protocol.TType.MAP, 
-                new org.apache.thrift7.meta_data.FieldValueMetaData(org.apache.thrift7.protocol.TType.STRING), 
-                new org.apache.thrift7.meta_data.FieldValueMetaData(org.apache.thrift7.protocol.TType.DOUBLE)))));
-    tmpMap.put(_Fields.RECV_TPS, new org.apache.thrift7.meta_data.FieldMetaData("recv_tps", org.apache.thrift7.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift7.meta_data.MapMetaData(org.apache.thrift7.protocol.TType.MAP, 
-            new org.apache.thrift7.meta_data.FieldValueMetaData(org.apache.thrift7.protocol.TType.STRING), 
-            new org.apache.thrift7.meta_data.MapMetaData(org.apache.thrift7.protocol.TType.MAP, 
-                new org.apache.thrift7.meta_data.StructMetaData(org.apache.thrift7.protocol.TType.STRUCT, GlobalStreamId.class), 
-                new org.apache.thrift7.meta_data.FieldValueMetaData(org.apache.thrift7.protocol.TType.DOUBLE)))));
-    tmpMap.put(_Fields.ACKED, new org.apache.thrift7.meta_data.FieldMetaData("acked", org.apache.thrift7.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift7.meta_data.MapMetaData(org.apache.thrift7.protocol.TType.MAP, 
-            new org.apache.thrift7.meta_data.FieldValueMetaData(org.apache.thrift7.protocol.TType.STRING), 
-            new org.apache.thrift7.meta_data.MapMetaData(org.apache.thrift7.protocol.TType.MAP, 
-                new org.apache.thrift7.meta_data.StructMetaData(org.apache.thrift7.protocol.TType.STRUCT, GlobalStreamId.class), 
-                new org.apache.thrift7.meta_data.FieldValueMetaData(org.apache.thrift7.protocol.TType.I64)))));
-    tmpMap.put(_Fields.FAILED, new org.apache.thrift7.meta_data.FieldMetaData("failed", org.apache.thrift7.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift7.meta_data.MapMetaData(org.apache.thrift7.protocol.TType.MAP, 
-            new org.apache.thrift7.meta_data.FieldValueMetaData(org.apache.thrift7.protocol.TType.STRING), 
-            new org.apache.thrift7.meta_data.MapMetaData(org.apache.thrift7.protocol.TType.MAP, 
-                new org.apache.thrift7.meta_data.StructMetaData(org.apache.thrift7.protocol.TType.STRUCT, GlobalStreamId.class), 
-                new org.apache.thrift7.meta_data.FieldValueMetaData(org.apache.thrift7.protocol.TType.I64)))));
-    tmpMap.put(_Fields.PROCESS_MS_AVG, new org.apache.thrift7.meta_data.FieldMetaData("process_ms_avg", org.apache.thrift7.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift7.meta_data.MapMetaData(org.apache.thrift7.protocol.TType.MAP, 
-            new org.apache.thrift7.meta_data.FieldValueMetaData(org.apache.thrift7.protocol.TType.STRING), 
-            new org.apache.thrift7.meta_data.MapMetaData(org.apache.thrift7.protocol.TType.MAP, 
-                new org.apache.thrift7.meta_data.StructMetaData(org.apache.thrift7.protocol.TType.STRUCT, GlobalStreamId.class), 
-                new org.apache.thrift7.meta_data.FieldValueMetaData(org.apache.thrift7.protocol.TType.DOUBLE)))));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift7.meta_data.FieldMetaData.addStructMetaDataMap(TaskStats.class, metaDataMap);
-  }
-
-  public TaskStats() {
-  }
-
-  public TaskStats(
-    Map<String,Map<String,Long>> emitted,
-    Map<String,Map<String,Double>> send_tps,
-    Map<String,Map<GlobalStreamId,Double>> recv_tps,
-    Map<String,Map<GlobalStreamId,Long>> acked,
-    Map<String,Map<GlobalStreamId,Long>> failed,
-    Map<String,Map<GlobalStreamId,Double>> process_ms_avg)
-  {
-    this();
-    this.emitted = emitted;
-    this.send_tps = send_tps;
-    this.recv_tps = recv_tps;
-    this.acked = acked;
-    this.failed = failed;
-    this.process_ms_avg = process_ms_avg;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public TaskStats(TaskStats other) {
-    if (other.is_set_emitted()) {
-      Map<String,Map<String,Long>> __this__emitted = new HashMap<String,Map<String,Long>>();
-      for (Map.Entry<String, Map<String,Long>> other_element : other.emitted.entrySet()) {
-
-        String other_element_key = other_element.getKey();
-        Map<String,Long> other_element_value = other_element.getValue();
-
-        String __this__emitted_copy_key = other_element_key;
-
-        Map<String,Long> __this__emitted_copy_value = new HashMap<String,Long>();
-        for (Map.Entry<String, Long> other_element_value_element : other_element_value.entrySet()) {
-
-          String other_element_value_element_key = other_element_value_element.getKey();
-          Long other_element_value_element_value = other_element_value_element.getValue();
-
-          String __this__emitted_copy_value_copy_key = other_element_value_element_key;
-
-          Long __this__emitted_copy_value_copy_value = other_element_value_element_value;
-
-          __this__emitted_copy_value.put(__this__emitted_copy_value_copy_key, __this__emitted_copy_value_copy_value);
-        }
-
-        __this__emitted.put(__this__emitted_copy_key, __this__emitted_copy_value);
-      }
-      this.emitted = __this__emitted;
-    }
-    if (other.is_set_send_tps()) {
-      Map<String,Map<String,Double>> __this__send_tps = new HashMap<String,Map<String,Double>>();
-      for (Map.Entry<String, Map<String,Double>> other_element : other.send_tps.entrySet()) {
-
-        String other_element_key = other_element.getKey();
-        Map<String,Double> other_element_value = other_element.getValue();
-
-        String __this__send_tps_copy_key = other_element_key;
-
-        Map<String,Double> __this__send_tps_copy_value = new HashMap<String,Double>();
-        for (Map.Entry<String, Double> other_element_value_element : other_element_value.entrySet()) {
-
-          String other_element_value_element_key = other_element_value_element.getKey();
-          Double other_element_value_element_value = other_element_value_element.getValue();
-
-          String __this__send_tps_copy_value_copy_key = other_element_value_element_key;
-
-          Double __this__send_tps_copy_value_copy_value = other_element_value_element_value;
-
-          __this__send_tps_copy_value.put(__this__send_tps_copy_value_copy_key, __this__send_tps_copy_value_copy_value);
-        }
-
-        __this__send_tps.put(__this__send_tps_copy_key, __this__send_tps_copy_value);
-      }
-      this.send_tps = __this__send_tps;
-    }
-    if (other.is_set_recv_tps()) {
-      Map<String,Map<GlobalStreamId,Double>> __this__recv_tps = new HashMap<String,Map<GlobalStreamId,Double>>();
-      for (Map.Entry<String, Map<GlobalStreamId,Double>> other_element : other.recv_tps.entrySet()) {
-
-        String other_element_key = other_element.getKey();
-        Map<GlobalStreamId,Double> other_element_value = other_element.getValue();
-
-        String __this__recv_tps_copy_key = other_element_key;
-
-        Map<GlobalStreamId,Double> __this__recv_tps_copy_value = new HashMap<GlobalStreamId,Double>();
-        for (Map.Entry<GlobalStreamId, Double> other_element_value_element : other_element_value.entrySet()) {
-
-          GlobalStreamId other_element_value_element_key = other_element_value_element.getKey();
-          Double other_element_value_element_value = other_element_value_element.getValue();
-
-          GlobalStreamId __this__recv_tps_copy_value_copy_key = new GlobalStreamId(other_element_value_element_key);
-
-          Double __this__recv_tps_copy_value_copy_value = other_element_value_element_value;
-
-          __this__recv_tps_copy_value.put(__this__recv_tps_copy_value_copy_key, __this__recv_tps_copy_value_copy_value);
-        }
-
-        __this__recv_tps.put(__this__recv_tps_copy_key, __this__recv_tps_copy_value);
-      }
-      this.recv_tps = __this__recv_tps;
-    }
-    if (other.is_set_acked()) {
-      Map<String,Map<GlobalStreamId,Long>> __this__acked = new HashMap<String,Map<GlobalStreamId,Long>>();
-      for (Map.Entry<String, Map<GlobalStreamId,Long>> other_element : other.acked.entrySet()) {
-
-        String other_element_key = other_element.getKey();
-        Map<GlobalStreamId,Long> other_element_value = other_element.getValue();
-
-        String __this__acked_copy_key = other_element_key;
-
-        Map<GlobalStreamId,Long> __this__acked_copy_value = new HashMap<GlobalStreamId,Long>();
-        for (Map.Entry<GlobalStreamId, Long> other_element_value_element : other_element_value.entrySet()) {
-
-          GlobalStreamId other_element_value_element_key = other_element_value_element.getKey();
-          Long other_element_value_element_value = other_element_value_element.getValue();
-
-          GlobalStreamId __this__acked_copy_value_copy_key = new GlobalStreamId(other_element_value_element_key);
-
-          Long __this__acked_copy_value_copy_value = other_element_value_element_value;
-
-          __this__acked_copy_value.put(__this__acked_copy_value_copy_key, __this__acked_copy_value_copy_value);
-        }
-
-        __this__acked.put(__this__acked_copy_key, __this__acked_copy_value);
-      }
-      this.acked = __this__acked;
-    }
-    if (other.is_set_failed()) {
-      Map<String,Map<GlobalStreamId,Long>> __this__failed = new HashMap<String,Map<GlobalStreamId,Long>>();
-      for (Map.Entry<String, Map<GlobalStreamId,Long>> other_element : other.failed.entrySet()) {
-
-        String other_element_key = other_element.getKey();
-        Map<GlobalStreamId,Long> other_element_value = other_element.getValue();
-
-        String __this__failed_copy_key = other_element_key;
-
-        Map<GlobalStreamId,Long> __this__failed_copy_value = new HashMap<GlobalStreamId,Long>();
-        for (Map.Entry<GlobalStreamId, Long> other_element_value_element : other_element_value.entrySet()) {
-
-          GlobalStreamId other_element_value_element_key = other_element_value_element.getKey();
-          Long other_element_value_element_value = other_element_value_element.getValue();
-
-          GlobalStreamId __this__failed_copy_value_copy_key = new GlobalStreamId(other_element_value_element_key);
-
-          Long __this__failed_copy_value_copy_value = other_element_value_element_value;
-
-          __this__failed_copy_value.put(__this__failed_copy_value_copy_key, __this__failed_copy_value_copy_value);
-        }
-
-        __this__failed.put(__this__failed_copy_key, __this__failed_copy_value);
-      }
-      this.failed = __this__failed;
-    }
-    if (other.is_set_process_ms_avg()) {
-      Map<String,Map<GlobalStreamId,Double>> __this__process_ms_avg = new HashMap<String,Map<GlobalStreamId,Double>>();
-      for (Map.Entry<String, Map<GlobalStreamId,Double>> other_element : other.process_ms_avg.entrySet()) {
-
-        String other_element_key = other_element.getKey();
-        Map<GlobalStreamId,Double> other_element_value = other_element.getValue();
-
-        String __this__process_ms_avg_copy_key = other_element_key;
-
-        Map<GlobalStreamId,Double> __this__process_ms_avg_copy_value = new HashMap<GlobalStreamId,Double>();
-        for (Map.Entry<GlobalStreamId, Double> other_element_value_element : other_element_value.entrySet()) {
-
-          GlobalStreamId other_element_value_element_key = other_element_value_element.getKey();
-          Double other_element_value_element_value = other_element_value_element.getValue();
-
-          GlobalStreamId __this__process_ms_avg_copy_value_copy_key = new GlobalStreamId(other_element_value_element_key);
-
-          Double __this__process_ms_avg_copy_value_copy_value = other_element_value_element_value;
-
-          __this__process_ms_avg_copy_value.put(__this__process_ms_avg_copy_value_copy_key, __this__process_ms_avg_copy_value_copy_value);
-        }
-
-        __this__process_ms_avg.put(__this__process_ms_avg_copy_key, __this__process_ms_avg_copy_value);
-      }
-      this.process_ms_avg = __this__process_ms_avg;
-    }
-  }
-
-  public TaskStats deepCopy() {
-    return new TaskStats(this);
-  }
-
-  @Override
-  public void clear() {
-    this.emitted = null;
-    this.send_tps = null;
-    this.recv_tps = null;
-    this.acked = null;
-    this.failed = null;
-    this.process_ms_avg = null;
-  }
-
-  public int get_emitted_size() {
-    return (this.emitted == null) ? 0 : this.emitted.size();
-  }
-
-  public void put_to_emitted(String key, Map<String,Long> val) {
-    if (this.emitted == null) {
-      this.emitted = new HashMap<String,Map<String,Long>>();
-    }
-    this.emitted.put(key, val);
-  }
-
-  public Map<String,Map<String,Long>> get_emitted() {
-    return this.emitted;
-  }
-
-  public void set_emitted(Map<String,Map<String,Long>> emitted) {
-    this.emitted = emitted;
-  }
-
-  public void unset_emitted() {
-    this.emitted = null;
-  }
-
-  /** Returns true if field emitted is set (has been assigned a value) and false otherwise */
-  public boolean is_set_emitted() {
-    return this.emitted != null;
-  }
-
-  public void set_emitted_isSet(boolean value) {
-    if (!value) {
-      this.emitted = null;
-    }
-  }
-
-  public int get_send_tps_size() {
-    return (this.send_tps == null) ? 0 : this.send_tps.size();
-  }
-
-  public void put_to_send_tps(String key, Map<String,Double> val) {
-    if (this.send_tps == null) {
-      this.send_tps = new HashMap<String,Map<String,Double>>();
-    }
-    this.send_tps.put(key, val);
-  }
-
-  public Map<String,Map<String,Double>> get_send_tps() {
-    return this.send_tps;
-  }
-
-  public void set_send_tps(Map<String,Map<String,Double>> send_tps) {
-    this.send_tps = send_tps;
-  }
-
-  public void unset_send_tps() {
-    this.send_tps = null;
-  }
-
-  /** Returns true if field send_tps is set (has been assigned a value) and false otherwise */
-  public boolean is_set_send_tps() {
-    return this.send_tps != null;
-  }
-
-  public void set_send_tps_isSet(boolean value) {
-    if (!value) {
-      this.send_tps = null;
-    }
-  }
-
-  public int get_recv_tps_size() {
-    return (this.recv_tps == null) ? 0 : this.recv_tps.size();
-  }
-
-  public void put_to_recv_tps(String key, Map<GlobalStreamId,Double> val) {
-    if (this.recv_tps == null) {
-      this.recv_tps = new HashMap<String,Map<GlobalStreamId,Double>>();
-    }
-    this.recv_tps.put(key, val);
-  }
-
-  public Map<String,Map<GlobalStreamId,Double>> get_recv_tps() {
-    return this.recv_tps;
-  }
-
-  public void set_recv_tps(Map<String,Map<GlobalStreamId,Double>> recv_tps) {
-    this.recv_tps = recv_tps;
-  }
-
-  public void unset_recv_tps() {
-    this.recv_tps = null;
-  }
-
-  /** Returns true if field recv_tps is set (has been assigned a value) and false otherwise */
-  public boolean is_set_recv_tps() {
-    return this.recv_tps != null;
-  }
-
-  public void set_recv_tps_isSet(boolean value) {
-    if (!value) {
-      this.recv_tps = null;
-    }
-  }
-
-  public int get_acked_size() {
-    return (this.acked == null) ? 0 : this.acked.size();
-  }
-
-  public void put_to_acked(String key, Map<GlobalStreamId,Long> val) {
-    if (this.acked == null) {
-      this.acked = new HashMap<String,Map<GlobalStreamId,Long>>();
-    }
-    this.acked.put(key, val);
-  }
-
-  public Map<String,Map<GlobalStreamId,Long>> get_acked() {
-    return this.acked;
-  }
-
-  public void set_acked(Map<String,Map<GlobalStreamId,Long>> acked) {
-    this.acked = acked;
-  }
-
-  public void unset_acked() {
-    this.acked = null;
-  }
-
-  /** Returns true if field acked is set (has been assigned a value) and false otherwise */
-  public boolean is_set_acked() {
-    return this.acked != null;
-  }
-
-  public void set_acked_isSet(boolean value) {
-    if (!value) {
-      this.acked = null;
-    }
-  }
-
-  public int get_failed_size() {
-    return (this.failed == null) ? 0 : this.failed.size();
-  }
-
-  public void put_to_failed(String key, Map<GlobalStreamId,Long> val) {
-    if (this.failed == null) {
-      this.failed = new HashMap<String,Map<GlobalStreamId,Long>>();
-    }
-    this.failed.put(key, val);
-  }
-
-  public Map<String,Map<GlobalStreamId,Long>> get_failed() {
-    return this.failed;
-  }
-
-  public void set_failed(Map<String,Map<GlobalStreamId,Long>> failed) {
-    this.failed = failed;
-  }
-
-  public void unset_failed() {
-    this.failed = null;
-  }
-
-  /** Returns true if field failed is set (has been assigned a value) and false otherwise */
-  public boolean is_set_failed() {
-    return this.failed != null;
-  }
-
-  public void set_failed_isSet(boolean value) {
-    if (!value) {
-      this.failed = null;
-    }
-  }
-
-  public int get_process_ms_avg_size() {
-    return (this.process_ms_avg == null) ? 0 : this.process_ms_avg.size();
-  }
-
-  public void put_to_process_ms_avg(String key, Map<GlobalStreamId,Double> val) {
-    if (this.process_ms_avg == null) {
-      this.process_ms_avg = new HashMap<String,Map<GlobalStreamId,Double>>();
-    }
-    this.process_ms_avg.put(key, val);
-  }
-
-  public Map<String,Map<GlobalStreamId,Double>> get_process_ms_avg() {
-    return this.process_ms_avg;
-  }
-
-  public void set_process_ms_avg(Map<String,Map<GlobalStreamId,Double>> process_ms_avg) {
-    this.process_ms_avg = process_ms_avg;
-  }
-
-  public void unset_process_ms_avg() {
-    this.process_ms_avg = null;
-  }
-
-  /** Returns true if field process_ms_avg is set (has been assigned a value) and false otherwise */
-  public boolean is_set_process_ms_avg() {
-    return this.process_ms_avg != null;
-  }
-
-  public void set_process_ms_avg_isSet(boolean value) {
-    if (!value) {
-      this.process_ms_avg = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case EMITTED:
-      if (value == null) {
-        unset_emitted();
-      } else {
-        set_emitted((Map<String,Map<String,Long>>)value);
-      }
-      break;
-
-    case SEND_TPS:
-      if (value == null) {
-        unset_send_tps();
-      } else {
-        set_send_tps((Map<String,Map<String,Double>>)value);
-      }
-      break;
-
-    case RECV_TPS:
-      if (value == null) {
-        unset_recv_tps();
-      } else {
-        set_recv_tps((Map<String,Map<GlobalStreamId,Double>>)value);
-      }
-      break;
-
-    case ACKED:
-      if (value == null) {
-        unset_acked();
-      } else {
-        set_acked((Map<String,Map<GlobalStreamId,Long>>)value);
-      }
-      break;
-
-    case FAILED:
-      if (value == null) {
-        unset_failed();
-      } else {
-        set_failed((Map<String,Map<GlobalStreamId,Long>>)value);
-      }
-      break;
-
-    case PROCESS_MS_AVG:
-      if (value == null) {
-        unset_process_ms_avg();
-      } else {
-        set_process_ms_avg((Map<String,Map<GlobalStreamId,Double>>)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case EMITTED:
-      return get_emitted();
-
-    case SEND_TPS:
-      return get_send_tps();
-
-    case RECV_TPS:
-      return get_recv_tps();
-
-    case ACKED:
-      return get_acked();
-
-    case FAILED:
-      return get_failed();
-
-    case PROCESS_MS_AVG:
-      return get_process_ms_avg();
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case EMITTED:
-      return is_set_emitted();
-    case SEND_TPS:
-      return is_set_send_tps();
-    case RECV_TPS:
-      return is_set_recv_tps();
-    case ACKED:
-      return is_set_acked();
-    case FAILED:
-      return is_set_failed();
-    case PROCESS_MS_AVG:
-      return is_set_process_ms_avg();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof TaskStats)
-      return this.equals((TaskStats)that);
-    return false;
-  }
-
-  public boolean equals(TaskStats that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_emitted = true && this.is_set_emitted();
-    boolean that_present_emitted = true && that.is_set_emitted();
-    if (this_present_emitted || that_present_emitted) {
-      if (!(this_present_emitted && that_present_emitted))
-        return false;
-      if (!this.emitted.equals(that.emitted))
-        return false;
-    }
-
-    boolean this_present_send_tps = true && this.is_set_send_tps();
-    boolean that_present_send_tps = true && that.is_set_send_tps();
-    if (this_present_send_tps || that_present_send_tps) {
-      if (!(this_present_send_tps && that_present_send_tps))
-        return false;
-      if (!this.send_tps.equals(that.send_tps))
-        return false;
-    }
-
-    boolean this_present_recv_tps = true && this.is_set_recv_tps();
-    boolean that_present_recv_tps = true && that.is_set_recv_tps();
-    if (this_present_recv_tps || that_present_recv_tps) {
-      if (!(this_present_recv_tps && that_present_recv_tps))
-        return false;
-      if (!this.recv_tps.equals(that.recv_tps))
-        return false;
-    }
-
-    boolean this_present_acked = true && this.is_set_acked();
-    boolean that_present_acked = true && that.is_set_acked();
-    if (this_present_acked || that_present_acked) {
-      if (!(this_present_acked && that_present_acked))
-        return false;
-      if (!this.acked.equals(that.acked))
-        return false;
-    }
-
-    boolean this_present_failed = true && this.is_set_failed();
-    boolean that_present_failed = true && that.is_set_failed();
-    if (this_present_failed || that_present_failed) {
-      if (!(this_present_failed && that_present_failed))
-        return false;
-      if (!this.failed.equals(that.failed))
-        return false;
-    }
-
-    boolean this_present_process_ms_avg = true && this.is_set_process_ms_avg();
-    boolean that_present_process_ms_avg = true && that.is_set_process_ms_avg();
-    if (this_present_process_ms_avg || that_present_process_ms_avg) {
-      if (!(this_present_process_ms_avg && that_present_process_ms_avg))
-        return false;
-      if (!this.process_ms_avg.equals(that.process_ms_avg))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    HashCodeBuilder builder = new HashCodeBuilder();
-
-    boolean present_emitted = true && (is_set_emitted());
-    builder.append(present_emitted);
-    if (present_emitted)
-      builder.append(emitted);
-
-    boolean present_send_tps = true && (is_set_send_tps());
-    builder.append(present_send_tps);
-    if (present_send_tps)
-      builder.append(send_tps);
-
-    boolean present_recv_tps = true && (is_set_recv_tps());
-    builder.append(present_recv_tps);
-    if (present_recv_tps)
-      builder.append(recv_tps);
-
-    boolean present_acked = true && (is_set_acked());
-    builder.append(present_acked);
-    if (present_acked)
-      builder.append(acked);
-
-    boolean present_failed = true && (is_set_failed());
-    builder.append(present_failed);
-    if (present_failed)
-      builder.append(failed);
-
-    boolean present_process_ms_avg = true && (is_set_process_ms_avg());
-    builder.append(present_process_ms_avg);
-    if (present_process_ms_avg)
-      builder.append(process_ms_avg);
-
-    return builder.toHashCode();
-  }
-
-  public int compareTo(TaskStats other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-    TaskStats typedOther = (TaskStats)other;
-
-    lastComparison = Boolean.valueOf(is_set_emitted()).compareTo(typedOther.is_set_emitted());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (is_set_emitted()) {
-      lastComparison = org.apache.thrift7.TBaseHelper.compareTo(this.emitted, typedOther.emitted);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(is_set_send_tps()).compareTo(typedOther.is_set_send_tps());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (is_set_send_tps()) {
-      lastComparison = org.apache.thrift7.TBaseHelper.compareTo(this.send_tps, typedOther.send_tps);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(is_set_recv_tps()).compareTo(typedOther.is_set_recv_tps());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (is_set_recv_tps()) {
-      lastComparison = org.apache.thrift7.TBaseHelper.compareTo(this.recv_tps, typedOther.recv_tps);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(is_set_acked()).compareTo(typedOther.is_set_acked());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (is_set_acked()) {
-      lastComparison = org.apache.thrift7.TBaseHelper.compareTo(this.acked, typedOther.acked);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(is_set_failed()).compareTo(typedOther.is_set_failed());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (is_set_failed()) {
-      lastComparison = org.apache.thrift7.TBaseHelper.compareTo(this.failed, typedOther.failed);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(is_set_process_ms_avg()).compareTo(typedOther.is_set_process_ms_avg());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (is_set_process_ms_avg()) {
-      lastComparison = org.apache.thrift7.TBaseHelper.compareTo(this.process_ms_avg, typedOther.process_ms_avg);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift7.protocol.TProtocol iprot) throws org.apache.thrift7.TException {
-    org.apache.thrift7.protocol.TField field;
-    iprot.readStructBegin();
-    while (true)
-    {
-      field = iprot.readFieldBegin();
-      if (field.type == org.apache.thrift7.protocol.TType.STOP) { 
-        break;
-      }
-      switch (field.id) {
-        case 1: // EMITTED
-          if (field.type == org.apache.thrift7.protocol.TType.MAP) {
-            {
-              org.apache.thrift7.protocol.TMap _map125 = iprot.readMapBegin();
-              this.emitted = new HashMap<String,Map<String,Long>>(2*_map125.size);
-              for (int _i126 = 0; _i126 < _map125.size; ++_i126)
-              {
-                String _key127; // required
-                Map<String,Long> _val128; // required
-                _key127 = iprot.readString();
-                {
-                  org.apache.thrift7.protocol.TMap _map129 = iprot.readMapBegin();
-                  _val128 = new HashMap<String,Long>(2*_map129.size);
-                  for (int _i130 = 0; _i130 < _map129.size; ++_i130)
-                  {
-                    String _key131; // required
-                    long _val132; // required
-                    _key131 = iprot.readString();
-                    _val132 = iprot.readI64();
-                    _val128.put(_key131, _val132);
-                  }
-                  iprot.readMapEnd();
-                }
-                this.emitted.put(_key127, _val128);
-              }
-              iprot.readMapEnd();
-            }
-          } else { 
-            org.apache.thrift7.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        case 2: // SEND_TPS
-          if (field.type == org.apache.thrift7.protocol.TType.MAP) {
-            {
-              org.apache.thrift7.protocol.TMap _map133 = iprot.readMapBegin();
-              this.send_tps = new HashMap<String,Map<String,Double>>(2*_map133.size);
-              for (int _i134 = 0; _i134 < _map133.size; ++_i134)
-              {
-                String _key135; // required
-                Map<String,Double> _val136; // required
-                _key135 = iprot.readString();
-                {
-                  org.apache.thrift7.protocol.TMap _map137 = iprot.readMapBegin();
-                  _val136 = new HashMap<String,Double>(2*_map137.size);
-                  for (int _i138 = 0; _i138 < _map137.size; ++_i138)
-                  {
-                    String _key139; // required
-                    double _val140; // required
-                    _key139 = iprot.readString();
-                    _val140 = iprot.readDouble();
-                    _val136.put(_key139, _val140);
-                  }
-                  iprot.readMapEnd();
-                }
-                this.send_tps.put(_key135, _val136);
-              }
-              iprot.readMapEnd();
-            }
-          } else { 
-            org.apache.thrift7.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        case 3: // RECV_TPS
-          if (field.type == org.apache.thrift7.protocol.TType.MAP) {
-            {
-              org.apache.thrift7.protocol.TMap _map141 = iprot.readMapBegin();
-              this.recv_tps = new HashMap<String,Map<GlobalStreamId,Double>>(2*_map141.size);
-              for (int _i142 = 0; _i142 < _map141.size; ++_i142)
-              {
-                String _key143; // required
-                Map<GlobalStreamId,Double> _val144; // required
-                _key143 = iprot.readString();
-                {
-                  org.apache.thrift7.protocol.TMap _map145 = iprot.readMapBegin();
-                  _val144 = new HashMap<GlobalStreamId,Double>(2*_map145.size);
-                  for (int _i146 = 0; _i146 < _map145.size; ++_i146)
-                  {
-                    GlobalStreamId _key147; // required
-                    double _val148; // required
-                    _key147 = new GlobalStreamId();
-                    _key147.read(iprot);
-                    _val148 = iprot.readDouble();
-                    _val144.put(_key147, _val148);
-                  }
-                  iprot.readMapEnd();
-                }
-                this.recv_tps.put(_key143, _val144);
-              }
-              iprot.readMapEnd();
-            }
-          } else { 
-            org.apache.thrift7.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        case 4: // ACKED
-          if (field.type == org.apache.thrift7.protocol.TType.MAP) {
-            {
-              org.apache.thrift7.protocol.TMap _map149 = iprot.readMapBegin();
-              this.acked = new HashMap<String,Map<GlobalStreamId,Long>>(2*_map149.size);
-              for (int _i150 = 0; _i150 < _map149.size; ++_i150)
-              {
-                String _key151; // required
-                Map<GlobalStreamId,Long> _val152; // required
-                _key151 = iprot.readString();
-                {
-                  org.apache.thrift7.protocol.TMap _map153 = iprot.readMapBegin();
-                  _val152 = new HashMap<GlobalStreamId,Long>(2*_map153.size);
-                  for (int _i154 = 0; _i154 < _map153.size; ++_i154)
-                  {
-                    GlobalStreamId _key155; // required
-                    long _val156; // required
-                    _key155 = new GlobalStreamId();
-                    _key155.read(iprot);
-                    _val156 = iprot.readI64();
-                    _val152.put(_key155, _val156);
-                  }
-                  iprot.readMapEnd();
-                }
-                this.acked.put(_key151, _val152);
-              }
-              iprot.readMapEnd();
-            }
-          } else { 
-            org.apache.thrift7.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        case 5: // FAILED
-          if (field.type == org.apache.thrift7.protocol.TType.MAP) {
-            {
-              org.apache.thrift7.protocol.TMap _map157 = iprot.readMapBegin();
-              this.failed = new HashMap<String,Map<GlobalStreamId,Long>>(2*_map157.size);
-              for (int _i158 = 0; _i158 < _map157.size; ++_i158)
-              {
-                String _key159; // required
-                Map<GlobalStreamId,Long> _val160; // required
-                _key159 = iprot.readString();
-                {
-                  org.apache.thrift7.protocol.TMap _map161 = iprot.readMapBegin();
-                  _val160 = new HashMap<GlobalStreamId,Long>(2*_map161.size);
-                  for (int _i162 = 0; _i162 < _map161.size; ++_i162)
-                  {
-                    GlobalStreamId _key163; // required
-                    long _val164; // required
-                    _key163 = new GlobalStreamId();
-                    _key163.read(iprot);
-                    _val164 = iprot.readI64();
-                    _val160.put(_key163, _val164);
-                  }
-                  iprot.readMapEnd();
-                }
-                this.failed.put(_key159, _val160);
-              }
-              iprot.readMapEnd();
-            }
-          } else { 
-            org.apache.thrift7.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        case 6: // PROCESS_MS_AVG
-          if (field.type == org.apache.thrift7.protocol.TType.MAP) {
-            {
-              org.apache.thrift7.protocol.TMap _map165 = iprot.readMapBegin();
-              this.process_ms_avg = new HashMap<String,Map<GlobalStreamId,Double>>(2*_map165.size);
-              for (int _i166 = 0; _i166 < _map165.size; ++_i166)
-              {
-                String _key167; // required
-                Map<GlobalStreamId,Double> _val168; // required
-                _key167 = iprot.readString();
-                {
-                  org.apache.thrift7.protocol.TMap _map169 = iprot.readMapBegin();
-                  _val168 = new HashMap<GlobalStreamId,Double>(2*_map169.size);
-                  for (int _i170 = 0; _i170 < _map169.size; ++_i170)
-                  {
-                    GlobalStreamId _key171; // required
-                    double _val172; // required
-                    _key171 = new GlobalStreamId();
-                    _key171.read(iprot);
-                    _val172 = iprot.readDouble();
-                    _val168.put(_key171, _val172);
-                  }
-                  iprot.readMapEnd();
-                }
-                this.process_ms_avg.put(_key167, _val168);
-              }
-              iprot.readMapEnd();
-            }
-          } else { 
-            org.apache.thrift7.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        default:
-          org.apache.thrift7.protocol.TProtocolUtil.skip(iprot, field.type);
-      }
-      iprot.readFieldEnd();
-    }
-    iprot.readStructEnd();
-    validate();
-  }
-
-  public void write(org.apache.thrift7.protocol.TProtocol oprot) throws org.apache.thrift7.TException {
-    validate();
-
-    oprot.writeStructBegin(STRUCT_DESC);
-    if (this.emitted != null) {
-      oprot.writeFieldBegin(EMITTED_FIELD_DESC);
-      {
-        oprot.writeMapBegin(new org.apache.thrift7.protocol.TMap(org.apache.thrift7.protocol.TType.STRING, org.apache.thrift7.protocol.TType.MAP, this.emitted.size()));
-        for (Map.Entry<String, Map<String,Long>> _iter173 : this.emitted.entrySet())
-        {
-          oprot.writeString(_iter173.getKey());
-          {
-            oprot.writeMapBegin(new org.apache.thrift7.protocol.TMap(org.apache.thrift7.protocol.TType.STRING, org.apache.thrift7.protocol.TType.I64, _iter173.getValue().size()));
-            for (Map.Entry<String, Long> _iter174 : _iter173.getValue().entrySet())
-            {
-              oprot.writeString(_iter174.getKey());
-              oprot.writeI64(_iter174.getValue());
-            }
-            oprot.writeMapEnd();
-          }
-        }
-        oprot.writeMapEnd();
-      }
-      oprot.writeFieldEnd();
-    }
-    if (this.send_tps != null) {
-      oprot.writeFieldBegin(SEND_TPS_FIELD_DESC);
-      {
-        oprot.writeMapBegin(new org.apache.thrift7.protocol.TMap(org.apache.thrift7.protocol.TType.STRING, org.apache.thrift7.protocol.TType.MAP, this.send_tps.size()));
-        for (Map.Entry<String, Map<String,Double>> _iter175 : this.send_tps.entrySet())
-        {
-          oprot.writeString(_iter175.getKey());
-          {
-            oprot.writeMapBegin(new org.apache.thrift7.protocol.TMap(org.apache.thrift7.protocol.TType.STRING, org.apache.thrift7.protocol.TType.DOUBLE, _iter175.getValue().size()));
-            for (Map.Entry<String, Double> _iter176 : _iter175.getValue().entrySet())
-            {
-              oprot.writeString(_iter176.getKey());
-              oprot.writeDouble(_iter176.getValue());
-            }
-            oprot.writeMapEnd();
-          }
-        }
-        oprot.writeMapEnd();
-      }
-      oprot.writeFieldEnd();
-    }
-    if (this.recv_tps != null) {
-      oprot.writeFieldBegin(RECV_TPS_FIELD_DESC);
-      {
-        oprot.writeMapBegin(new org.apache.thrift7.protocol.TMap(org.apache.thrift7.protocol.TType.STRING, org.apache.thrift7.protocol.TType.MAP, this.recv_tps.size()));
-        for (Map.Entry<String, Map<GlobalStreamId,Double>> _iter177 : this.recv_tps.entrySet())
-        {
-          oprot.writeString(_iter177.getKey());
-          {
-            oprot.writeMapBegin(new org.apache.thrift7.protocol.TMap(org.apache.thrift7.protocol.TType.STRUCT, org.apache.thrift7.protocol.TType.DOUBLE, _iter177.getValue().size()));
-            for (Map.Entry<GlobalStreamId, Double> _iter178 : _iter177.getValue().entrySet())
-            {
-              _iter178.getKey().write(oprot);
-              oprot.writeDouble(_iter178.getValue());
-            }
-            oprot.writeMapEnd();
-          }
-        }
-        oprot.writeMapEnd();
-      }
-      oprot.writeFieldEnd();
-    }
-    if (this.acked != null) {
-      oprot.writeFieldBegin(ACKED_FIELD_DESC);
-      {
-        oprot.writeMapBegin(new org.apache.thrift7.protocol.TMap(org.apache.thrift7.protocol.TType.STRING, org.apache.thrift7.protocol.TType.MAP, this.acked.size()));
-        for (Map.Entry<String, Map<GlobalStreamId,Long>> _iter179 : this.acked.entrySet())
-        {
-          oprot.writeString(_iter179.getKey());
-          {
-            oprot.writeMapBegin(new org.apache.thrift7.protocol.TMap(org.apache.thrift7.protocol.TType.STRUCT, org.apache.thrift7.protocol.TType.I64, _iter179.getValue().size()));
-            for (Map.Entry<GlobalStreamId, Long> _iter180 : _iter179.getValue().entrySet())
-            {
-              _iter180.getKey().write(oprot);
-              oprot.writeI64(_iter180.getValue());
-            }
-            oprot.writeMapEnd();
-          }
-        }
-        oprot.writeMapEnd();
-      }
-      oprot.writeFieldEnd();
-    }
-    if (this.failed != null) {
-      oprot.writeFieldBegin(FAILED_FIELD_DESC);
-      {
-        oprot.writeMapBegin(new org.apache.thrift7.protocol.TMap(org.apache.thrift7.protocol.TType.STRING, org.apache.thrift7.protocol.TType.MAP, this.failed.size()));
-        for (Map.Entry<String, Map<GlobalStreamId,Long>> _iter181 : this.failed.entrySet())
-        {
-          oprot.writeString(_iter181.getKey());
-          {
-            oprot.writeMapBegin(new org.apache.thrift7.protocol.TMap(org.apache.thrift7.protocol.TType.STRUCT, org.apache.thrift7.protocol.TType.I64, _iter181.getValue().size()));
-            for (Map.Entry<GlobalStreamId, Long> _iter182 : _iter181.getValue().entrySet())
-            {
-              _iter182.getKey().write(oprot);
-              oprot.writeI64(_iter182.getValue());
-            }
-            oprot.writeMapEnd();
-          }
-        }
-        oprot.writeMapEnd();
-      }
-      oprot.writeFieldEnd();
-    }
-    if (this.process_ms_avg != null) {
-      oprot.writeFieldBegin(PROCESS_MS_AVG_FIELD_DESC);
-      {
-        oprot.writeMapBegin(new org.apache.thrift7.protocol.TMap(org.apache.thrift7.protocol.TType.STRING, org.apache.thrift7.protocol.TType.MAP, this.process_ms_avg.size()));
-        for (Map.Entry<String, Map<GlobalStreamId,Double>> _iter183 : this.process_ms_avg.entrySet())
-        {
-          oprot.writeString(_iter183.getKey());
-          {
-            oprot.writeMapBegin(new org.apache.thrift7.protocol.TMap(org.apache.thrift7.protocol.TType.STRUCT, org.apache.thrift7.protocol.TType.DOUBLE, _iter183.getValue().size()));
-            for (Map.Entry<GlobalStreamId, Double> _iter184 : _iter183.getValue().entrySet())
-            {
-              _iter184.getKey().write(oprot);
-              oprot.writeDouble(_iter184.getValue());
-            }
-            oprot.writeMapEnd();
-          }
-        }
-        oprot.writeMapEnd();
-      }
-      oprot.writeFieldEnd();
-    }
-    oprot.writeFieldStop();
-    oprot.writeStructEnd();
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("TaskStats(");
-    boolean first = true;
-
-    sb.append("emitted:");
-    if (this.emitted == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.emitted);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("send_tps:");
-    if (this.send_tps == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.send_tps);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("recv_tps:");
-    if (this.recv_tps == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.recv_tps);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("acked:");
-    if (this.acked == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.acked);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("failed:");
-    if (this.failed == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.failed);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("process_ms_avg:");
-    if (this.process_ms_avg == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.process_ms_avg);
-    }
-    first = false;
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift7.TException {
-    // check for required fields
-    if (!is_set_emitted()) {
-      throw new org.apache.thrift7.protocol.TProtocolException("Required field 'emitted' is unset! Struct:" + toString());
-    }
-
-    if (!is_set_send_tps()) {
-      throw new org.apache.thrift7.protocol.TProtocolException("Required field 'send_tps' is unset! Struct:" + toString());
-    }
-
-    if (!is_set_recv_tps()) {
-      throw new org.apache.thrift7.protocol.TProtocolException("Required field 'recv_tps' is unset! Struct:" + toString());
-    }
-
-    if (!is_set_acked()) {
-      throw new org.apache.thrift7.protocol.TProtocolException("Required field 'acked' is unset! Struct:" + toString());
-    }
-
-    if (!is_set_failed()) {
-      throw new org.apache.thrift7.protocol.TProtocolException("Required field 'failed' is unset! Struct:" + toString());
-    }
-
-    if (!is_set_process_ms_avg()) {
-      throw new org.apache.thrift7.protocol.TProtocolException("Required field 'process_ms_avg' is unset! Struct:" + toString());
-    }
-
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift7.protocol.TCompactProtocol(new org.apache.thrift7.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift7.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      read(new org.apache.thrift7.protocol.TCompactProtocol(new org.apache.thrift7.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift7.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/storm/blob/e935da91/jstorm-client/src/main/java/backtype/storm/generated/TaskSummary.java
----------------------------------------------------------------------
diff --git a/jstorm-client/src/main/java/backtype/storm/generated/TaskSummary.java b/jstorm-client/src/main/java/backtype/storm/generated/TaskSummary.java
deleted file mode 100644
index 3483772..0000000
--- a/jstorm-client/src/main/java/backtype/storm/generated/TaskSummary.java
+++ /dev/null
@@ -1,1122 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.7.0)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- */
-package backtype.storm.generated;
-
-import org.apache.commons.lang.builder.HashCodeBuilder;
-import java.util.List;
-import java.util.ArrayList;
-import java.util.Map;
-import java.util.HashMap;
-import java.util.EnumMap;
-import java.util.Set;
-import java.util.HashSet;
-import java.util.EnumSet;
-import java.util.Collections;
-import java.util.BitSet;
-import java.nio.ByteBuffer;
-import java.util.Arrays;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class TaskSummary implements org.apache.thrift7.TBase<TaskSummary, TaskSummary._Fields>, java.io.Serializable, Cloneable {
-  private static final org.apache.thrift7.protocol.TStruct STRUCT_DESC = new org.apache.thrift7.protocol.TStruct("TaskSummary");
-
-  private static final org.apache.thrift7.protocol.TField TASK_ID_FIELD_DESC = new org.apache.thrift7.protocol.TField("task_id", org.apache.thrift7.protocol.TType.I32, (short)1);
-  private static final org.apache.thrift7.protocol.TField COMPONENT_ID_FIELD_DESC = new org.apache.thrift7.protocol.TField("component_id", org.apache.thrift7.protocol.TType.STRING, (short)2);
-  private static final org.apache.thrift7.protocol.TField HOST_FIELD_DESC = new org.apache.thrift7.protocol.TField("host", org.apache.thrift7.protocol.TType.STRING, (short)3);
-  private static final org.apache.thrift7.protocol.TField PORT_FIELD_DESC = new org.apache.thrift7.protocol.TField("port", org.apache.thrift7.protocol.TType.I32, (short)4);
-  private static final org.apache.thrift7.protocol.TField UPTIME_SECS_FIELD_DESC = new org.apache.thrift7.protocol.TField("uptime_secs", org.apache.thrift7.protocol.TType.I32, (short)5);
-  private static final org.apache.thrift7.protocol.TField ERRORS_FIELD_DESC = new org.apache.thrift7.protocol.TField("errors", org.apache.thrift7.protocol.TType.LIST, (short)6);
-  private static final org.apache.thrift7.protocol.TField STATS_FIELD_DESC = new org.apache.thrift7.protocol.TField("stats", org.apache.thrift7.protocol.TType.STRUCT, (short)7);
-  private static final org.apache.thrift7.protocol.TField COMPONENT_TYPE_FIELD_DESC = new org.apache.thrift7.protocol.TField("component_type", org.apache.thrift7.protocol.TType.STRING, (short)8);
-  private static final org.apache.thrift7.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift7.protocol.TField("status", org.apache.thrift7.protocol.TType.STRING, (short)9);
-
-  private int task_id; // required
-  private String component_id; // required
-  private String host; // required
-  private int port; // required
-  private int uptime_secs; // required
-  private List<ErrorInfo> errors; // required
-  private TaskStats stats; // required
-  private String component_type; // required
-  private String status; // required
-
-  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-  public enum _Fields implements org.apache.thrift7.TFieldIdEnum {
-    TASK_ID((short)1, "task_id"),
-    COMPONENT_ID((short)2, "component_id"),
-    HOST((short)3, "host"),
-    PORT((short)4, "port"),
-    UPTIME_SECS((short)5, "uptime_secs"),
-    ERRORS((short)6, "errors"),
-    STATS((short)7, "stats"),
-    COMPONENT_TYPE((short)8, "component_type"),
-    STATUS((short)9, "status");
-
-    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
-    static {
-      for (_Fields field : EnumSet.allOf(_Fields.class)) {
-        byName.put(field.getFieldName(), field);
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, or null if its not found.
-     */
-    public static _Fields findByThriftId(int fieldId) {
-      switch(fieldId) {
-        case 1: // TASK_ID
-          return TASK_ID;
-        case 2: // COMPONENT_ID
-          return COMPONENT_ID;
-        case 3: // HOST
-          return HOST;
-        case 4: // PORT
-          return PORT;
-        case 5: // UPTIME_SECS
-          return UPTIME_SECS;
-        case 6: // ERRORS
-          return ERRORS;
-        case 7: // STATS
-          return STATS;
-        case 8: // COMPONENT_TYPE
-          return COMPONENT_TYPE;
-        case 9: // STATUS
-          return STATUS;
-        default:
-          return null;
-      }
-    }
-
-    /**
-     * Find the _Fields constant that matches fieldId, throwing an exception
-     * if it is not found.
-     */
-    public static _Fields findByThriftIdOrThrow(int fieldId) {
-      _Fields fields = findByThriftId(fieldId);
-      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-      return fields;
-    }
-
-    /**
-     * Find the _Fields constant that matches name, or null if its not found.
-     */
-    public static _Fields findByName(String name) {
-      return byName.get(name);
-    }
-
-    private final short _thriftId;
-    private final String _fieldName;
-
-    _Fields(short thriftId, String fieldName) {
-      _thriftId = thriftId;
-      _fieldName = fieldName;
-    }
-
-    public short getThriftFieldId() {
-      return _thriftId;
-    }
-
-    public String getFieldName() {
-      return _fieldName;
-    }
-  }
-
-  // isset id assignments
-  private static final int __TASK_ID_ISSET_ID = 0;
-  private static final int __PORT_ISSET_ID = 1;
-  private static final int __UPTIME_SECS_ISSET_ID = 2;
-  private BitSet __isset_bit_vector = new BitSet(3);
-
-  public static final Map<_Fields, org.apache.thrift7.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.thrift7.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift7.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.TASK_ID, new org.apache.thrift7.meta_data.FieldMetaData("task_id", org.apache.thrift7.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift7.meta_data.FieldValueMetaData(org.apache.thrift7.protocol.TType.I32)));
-    tmpMap.put(_Fields.COMPONENT_ID, new org.apache.thrift7.meta_data.FieldMetaData("component_id", org.apache.thrift7.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift7.meta_data.FieldValueMetaData(org.apache.thrift7.protocol.TType.STRING)));
-    tmpMap.put(_Fields.HOST, new org.apache.thrift7.meta_data.FieldMetaData("host", org.apache.thrift7.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift7.meta_data.FieldValueMetaData(org.apache.thrift7.protocol.TType.STRING)));
-    tmpMap.put(_Fields.PORT, new org.apache.thrift7.meta_data.FieldMetaData("port", org.apache.thrift7.TFieldRequirementType.REQUIRED, 
-        new org.apache.thrift7.meta_data.FieldValueMetaData(org.apache.thrift7.protocol.TType.I32)));
-    tmpMap.put(_Fields.UPTIME_SECS, new org.apache.thrift7.meta_data.FieldMetaData("uptime_secs", org.apache.thrift7.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift7.meta_data.FieldValueMetaData(org.apache.thrift7.protocol.TType.I32)));
-    tmpMap.put(_Fields.ERRORS, new org.apache.thrift7.meta_data.FieldMetaData("errors", org.apache.thrift7.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift7.meta_data.ListMetaData(org.apache.thrift7.protocol.TType.LIST, 
-            new org.apache.thrift7.meta_data.StructMetaData(org.apache.thrift7.protocol.TType.STRUCT, ErrorInfo.class))));
-    tmpMap.put(_Fields.STATS, new org.apache.thrift7.meta_data.FieldMetaData("stats", org.apache.thrift7.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift7.meta_data.StructMetaData(org.apache.thrift7.protocol.TType.STRUCT, TaskStats.class)));
-    tmpMap.put(_Fields.COMPONENT_TYPE, new org.apache.thrift7.meta_data.FieldMetaData("component_type", org.apache.thrift7.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift7.meta_data.FieldValueMetaData(org.apache.thrift7.protocol.TType.STRING)));
-    tmpMap.put(_Fields.STATUS, new org.apache.thrift7.meta_data.FieldMetaData("status", org.apache.thrift7.TFieldRequirementType.OPTIONAL, 
-        new org.apache.thrift7.meta_data.FieldValueMetaData(org.apache.thrift7.protocol.TType.STRING)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.thrift7.meta_data.FieldMetaData.addStructMetaDataMap(TaskSummary.class, metaDataMap);
-  }
-
-  public TaskSummary() {
-  }
-
-  public TaskSummary(
-    int task_id,
-    String component_id,
-    String host,
-    int port)
-  {
-    this();
-    this.task_id = task_id;
-    set_task_id_isSet(true);
-    this.component_id = component_id;
-    this.host = host;
-    this.port = port;
-    set_port_isSet(true);
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public TaskSummary(TaskSummary other) {
-    __isset_bit_vector.clear();
-    __isset_bit_vector.or(other.__isset_bit_vector);
-    this.task_id = other.task_id;
-    if (other.is_set_component_id()) {
-      this.component_id = other.component_id;
-    }
-    if (other.is_set_host()) {
-      this.host = other.host;
-    }
-    this.port = other.port;
-    this.uptime_secs = other.uptime_secs;
-    if (other.is_set_errors()) {
-      List<ErrorInfo> __this__errors = new ArrayList<ErrorInfo>();
-      for (ErrorInfo other_element : other.errors) {
-        __this__errors.add(new ErrorInfo(other_element));
-      }
-      this.errors = __this__errors;
-    }
-    if (other.is_set_stats()) {
-      this.stats = new TaskStats(other.stats);
-    }
-    if (other.is_set_component_type()) {
-      this.component_type = other.component_type;
-    }
-    if (other.is_set_status()) {
-      this.status = other.status;
-    }
-  }
-
-  public TaskSummary deepCopy() {
-    return new TaskSummary(this);
-  }
-
-  @Override
-  public void clear() {
-    set_task_id_isSet(false);
-    this.task_id = 0;
-    this.component_id = null;
-    this.host = null;
-    set_port_isSet(false);
-    this.port = 0;
-    set_uptime_secs_isSet(false);
-    this.uptime_secs = 0;
-    this.errors = null;
-    this.stats = null;
-    this.component_type = null;
-    this.status = null;
-  }
-
-  public int get_task_id() {
-    return this.task_id;
-  }
-
-  public void set_task_id(int task_id) {
-    this.task_id = task_id;
-    set_task_id_isSet(true);
-  }
-
-  public void unset_task_id() {
-    __isset_bit_vector.clear(__TASK_ID_ISSET_ID);
-  }
-
-  /** Returns true if field task_id is set (has been assigned a value) and false otherwise */
-  public boolean is_set_task_id() {
-    return __isset_bit_vector.get(__TASK_ID_ISSET_ID);
-  }
-
-  public void set_task_id_isSet(boolean value) {
-    __isset_bit_vector.set(__TASK_ID_ISSET_ID, value);
-  }
-
-  public String get_component_id() {
-    return this.component_id;
-  }
-
-  public void set_component_id(String component_id) {
-    this.component_id = component_id;
-  }
-
-  public void unset_component_id() {
-    this.component_id = null;
-  }
-
-  /** Returns true if field component_id is set (has been assigned a value) and false otherwise */
-  public boolean is_set_component_id() {
-    return this.component_id != null;
-  }
-
-  public void set_component_id_isSet(boolean value) {
-    if (!value) {
-      this.component_id = null;
-    }
-  }
-
-  public String get_host() {
-    return this.host;
-  }
-
-  public void set_host(String host) {
-    this.host = host;
-  }
-
-  public void unset_host() {
-    this.host = null;
-  }
-
-  /** Returns true if field host is set (has been assigned a value) and false otherwise */
-  public boolean is_set_host() {
-    return this.host != null;
-  }
-
-  public void set_host_isSet(boolean value) {
-    if (!value) {
-      this.host = null;
-    }
-  }
-
-  public int get_port() {
-    return this.port;
-  }
-
-  public void set_port(int port) {
-    this.port = port;
-    set_port_isSet(true);
-  }
-
-  public void unset_port() {
-    __isset_bit_vector.clear(__PORT_ISSET_ID);
-  }
-
-  /** Returns true if field port is set (has been assigned a value) and false otherwise */
-  public boolean is_set_port() {
-    return __isset_bit_vector.get(__PORT_ISSET_ID);
-  }
-
-  public void set_port_isSet(boolean value) {
-    __isset_bit_vector.set(__PORT_ISSET_ID, value);
-  }
-
-  public int get_uptime_secs() {
-    return this.uptime_secs;
-  }
-
-  public void set_uptime_secs(int uptime_secs) {
-    this.uptime_secs = uptime_secs;
-    set_uptime_secs_isSet(true);
-  }
-
-  public void unset_uptime_secs() {
-    __isset_bit_vector.clear(__UPTIME_SECS_ISSET_ID);
-  }
-
-  /** Returns true if field uptime_secs is set (has been assigned a value) and false otherwise */
-  public boolean is_set_uptime_secs() {
-    return __isset_bit_vector.get(__UPTIME_SECS_ISSET_ID);
-  }
-
-  public void set_uptime_secs_isSet(boolean value) {
-    __isset_bit_vector.set(__UPTIME_SECS_ISSET_ID, value);
-  }
-
-  public int get_errors_size() {
-    return (this.errors == null) ? 0 : this.errors.size();
-  }
-
-  public java.util.Iterator<ErrorInfo> get_errors_iterator() {
-    return (this.errors == null) ? null : this.errors.iterator();
-  }
-
-  public void add_to_errors(ErrorInfo elem) {
-    if (this.errors == null) {
-      this.errors = new ArrayList<ErrorInfo>();
-    }
-    this.errors.add(elem);
-  }
-
-  public List<ErrorInfo> get_errors() {
-    return this.errors;
-  }
-
-  public void set_errors(List<ErrorInfo> errors) {
-    this.errors = errors;
-  }
-
-  public void unset_errors() {
-    this.errors = null;
-  }
-
-  /** Returns true if field errors is set (has been assigned a value) and false otherwise */
-  public boolean is_set_errors() {
-    return this.errors != null;
-  }
-
-  public void set_errors_isSet(boolean value) {
-    if (!value) {
-      this.errors = null;
-    }
-  }
-
-  public TaskStats get_stats() {
-    return this.stats;
-  }
-
-  public void set_stats(TaskStats stats) {
-    this.stats = stats;
-  }
-
-  public void unset_stats() {
-    this.stats = null;
-  }
-
-  /** Returns true if field stats is set (has been assigned a value) and false otherwise */
-  public boolean is_set_stats() {
-    return this.stats != null;
-  }
-
-  public void set_stats_isSet(boolean value) {
-    if (!value) {
-      this.stats = null;
-    }
-  }
-
-  public String get_component_type() {
-    return this.component_type;
-  }
-
-  public void set_component_type(String component_type) {
-    this.component_type = component_type;
-  }
-
-  public void unset_component_type() {
-    this.component_type = null;
-  }
-
-  /** Returns true if field component_type is set (has been assigned a value) and false otherwise */
-  public boolean is_set_component_type() {
-    return this.component_type != null;
-  }
-
-  public void set_component_type_isSet(boolean value) {
-    if (!value) {
-      this.component_type = null;
-    }
-  }
-
-  public String get_status() {
-    return this.status;
-  }
-
-  public void set_status(String status) {
-    this.status = status;
-  }
-
-  public void unset_status() {
-    this.status = null;
-  }
-
-  /** Returns true if field status is set (has been assigned a value) and false otherwise */
-  public boolean is_set_status() {
-    return this.status != null;
-  }
-
-  public void set_status_isSet(boolean value) {
-    if (!value) {
-      this.status = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case TASK_ID:
-      if (value == null) {
-        unset_task_id();
-      } else {
-        set_task_id((Integer)value);
-      }
-      break;
-
-    case COMPONENT_ID:
-      if (value == null) {
-        unset_component_id();
-      } else {
-        set_component_id((String)value);
-      }
-      break;
-
-    case HOST:
-      if (value == null) {
-        unset_host();
-      } else {
-        set_host((String)value);
-      }
-      break;
-
-    case PORT:
-      if (value == null) {
-        unset_port();
-      } else {
-        set_port((Integer)value);
-      }
-      break;
-
-    case UPTIME_SECS:
-      if (value == null) {
-        unset_uptime_secs();
-      } else {
-        set_uptime_secs((Integer)value);
-      }
-      break;
-
-    case ERRORS:
-      if (value == null) {
-        unset_errors();
-      } else {
-        set_errors((List<ErrorInfo>)value);
-      }
-      break;
-
-    case STATS:
-      if (value == null) {
-        unset_stats();
-      } else {
-        set_stats((TaskStats)value);
-      }
-      break;
-
-    case COMPONENT_TYPE:
-      if (value == null) {
-        unset_component_type();
-      } else {
-        set_component_type((String)value);
-      }
-      break;
-
-    case STATUS:
-      if (value == null) {
-        unset_status();
-      } else {
-        set_status((String)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case TASK_ID:
-      return Integer.valueOf(get_task_id());
-
-    case COMPONENT_ID:
-      return get_component_id();
-
-    case HOST:
-      return get_host();
-
-    case PORT:
-      return Integer.valueOf(get_port());
-
-    case UPTIME_SECS:
-      return Integer.valueOf(get_uptime_secs());
-
-    case ERRORS:
-      return get_errors();
-
-    case STATS:
-      return get_stats();
-
-    case COMPONENT_TYPE:
-      return get_component_type();
-
-    case STATUS:
-      return get_status();
-
-    }
-    throw new IllegalStateException();
-  }
-
-  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-  public boolean isSet(_Fields field) {
-    if (field == null) {
-      throw new IllegalArgumentException();
-    }
-
-    switch (field) {
-    case TASK_ID:
-      return is_set_task_id();
-    case COMPONENT_ID:
-      return is_set_component_id();
-    case HOST:
-      return is_set_host();
-    case PORT:
-      return is_set_port();
-    case UPTIME_SECS:
-      return is_set_uptime_secs();
-    case ERRORS:
-      return is_set_errors();
-    case STATS:
-      return is_set_stats();
-    case COMPONENT_TYPE:
-      return is_set_component_type();
-    case STATUS:
-      return is_set_status();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof TaskSummary)
-      return this.equals((TaskSummary)that);
-    return false;
-  }
-
-  public boolean equals(TaskSummary that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_task_id = true;
-    boolean that_present_task_id = true;
-    if (this_present_task_id || that_present_task_id) {
-      if (!(this_present_task_id && that_present_task_id))
-        return false;
-      if (this.task_id != that.task_id)
-        return false;
-    }
-
-    boolean this_present_component_id = true && this.is_set_component_id();
-    boolean that_present_component_id = true && that.is_set_component_id();
-    if (this_present_component_id || that_present_component_id) {
-      if (!(this_present_component_id && that_present_component_id))
-        return false;
-      if (!this.component_id.equals(that.component_id))
-        return false;
-    }
-
-    boolean this_present_host = true && this.is_set_host();
-    boolean that_present_host = true && that.is_set_host();
-    if (this_present_host || that_present_host) {
-      if (!(this_present_host && that_present_host))
-        return false;
-      if (!this.host.equals(that.host))
-        return false;
-    }
-
-    boolean this_present_port = true;
-    boolean that_present_port = true;
-    if (this_present_port || that_present_port) {
-      if (!(this_present_port && that_present_port))
-        return false;
-      if (this.port != that.port)
-        return false;
-    }
-
-    boolean this_present_uptime_secs = true && this.is_set_uptime_secs();
-    boolean that_present_uptime_secs = true && that.is_set_uptime_secs();
-    if (this_present_uptime_secs || that_present_uptime_secs) {
-      if (!(this_present_uptime_secs && that_present_uptime_secs))
-        return false;
-      if (this.uptime_secs != that.uptime_secs)
-        return false;
-    }
-
-    boolean this_present_errors = true && this.is_set_errors();
-    boolean that_present_errors = true && that.is_set_errors();
-    if (this_present_errors || that_present_errors) {
-      if (!(this_present_errors && that_present_errors))
-        return false;
-      if (!this.errors.equals(that.errors))
-        return false;
-    }
-
-    boolean this_present_stats = true && this.is_set_stats();
-    boolean that_present_stats = true && that.is_set_stats();
-    if (this_present_stats || that_present_stats) {
-      if (!(this_present_stats && that_present_stats))
-        return false;
-      if (!this.stats.equals(that.stats))
-        return false;
-    }
-
-    boolean this_present_component_type = true && this.is_set_component_type();
-    boolean that_present_component_type = true && that.is_set_component_type();
-    if (this_present_component_type || that_present_component_type) {
-      if (!(this_present_component_type && that_present_component_type))
-        return false;
-      if (!this.component_type.equals(that.component_type))
-        return false;
-    }
-
-    boolean this_present_status = true && this.is_set_status();
-    boolean that_present_status = true && that.is_set_status();
-    if (this_present_status || that_present_status) {
-      if (!(this_present_status && that_present_status))
-        return false;
-      if (!this.status.equals(that.status))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    HashCodeBuilder builder = new HashCodeBuilder();
-
-    boolean present_task_id = true;
-    builder.append(present_task_id);
-    if (present_task_id)
-      builder.append(task_id);
-
-    boolean present_component_id = true && (is_set_component_id());
-    builder.append(present_component_id);
-    if (present_component_id)
-      builder.append(component_id);
-
-    boolean present_host = true && (is_set_host());
-    builder.append(present_host);
-    if (present_host)
-      builder.append(host);
-
-    boolean present_port = true;
-    builder.append(present_port);
-    if (present_port)
-      builder.append(port);
-
-    boolean present_uptime_secs = true && (is_set_uptime_secs());
-    builder.append(present_uptime_secs);
-    if (present_uptime_secs)
-      builder.append(uptime_secs);
-
-    boolean present_errors = true && (is_set_errors());
-    builder.append(present_errors);
-    if (present_errors)
-      builder.append(errors);
-
-    boolean present_stats = true && (is_set_stats());
-    builder.append(present_stats);
-    if (present_stats)
-      builder.append(stats);
-
-    boolean present_component_type = true && (is_set_component_type());
-    builder.append(present_component_type);
-    if (present_component_type)
-      builder.append(component_type);
-
-    boolean present_status = true && (is_set_status());
-    builder.append(present_status);
-    if (present_status)
-      builder.append(status);
-
-    return builder.toHashCode();
-  }
-
-  public int compareTo(TaskSummary other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-    TaskSummary typedOther = (TaskSummary)other;
-
-    lastComparison = Boolean.valueOf(is_set_task_id()).compareTo(typedOther.is_set_task_id());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (is_set_task_id()) {
-      lastComparison = org.apache.thrift7.TBaseHelper.compareTo(this.task_id, typedOther.task_id);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(is_set_component_id()).compareTo(typedOther.is_set_component_id());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (is_set_component_id()) {
-      lastComparison = org.apache.thrift7.TBaseHelper.compareTo(this.component_id, typedOther.component_id);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(is_set_host()).compareTo(typedOther.is_set_host());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (is_set_host()) {
-      lastComparison = org.apache.thrift7.TBaseHelper.compareTo(this.host, typedOther.host);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(is_set_port()).compareTo(typedOther.is_set_port());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (is_set_port()) {
-      lastComparison = org.apache.thrift7.TBaseHelper.compareTo(this.port, typedOther.port);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(is_set_uptime_secs()).compareTo(typedOther.is_set_uptime_secs());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (is_set_uptime_secs()) {
-      lastComparison = org.apache.thrift7.TBaseHelper.compareTo(this.uptime_secs, typedOther.uptime_secs);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(is_set_errors()).compareTo(typedOther.is_set_errors());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (is_set_errors()) {
-      lastComparison = org.apache.thrift7.TBaseHelper.compareTo(this.errors, typedOther.errors);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(is_set_stats()).compareTo(typedOther.is_set_stats());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (is_set_stats()) {
-      lastComparison = org.apache.thrift7.TBaseHelper.compareTo(this.stats, typedOther.stats);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(is_set_component_type()).compareTo(typedOther.is_set_component_type());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (is_set_component_type()) {
-      lastComparison = org.apache.thrift7.TBaseHelper.compareTo(this.component_type, typedOther.component_type);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(is_set_status()).compareTo(typedOther.is_set_status());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (is_set_status()) {
-      lastComparison = org.apache.thrift7.TBaseHelper.compareTo(this.status, typedOther.status);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.thrift7.protocol.TProtocol iprot) throws org.apache.thrift7.TException {
-    org.apache.thrift7.protocol.TField field;
-    iprot.readStructBegin();
-    while (true)
-    {
-      field = iprot.readFieldBegin();
-      if (field.type == org.apache.thrift7.protocol.TType.STOP) { 
-        break;
-      }
-      switch (field.id) {
-        case 1: // TASK_ID
-          if (field.type == org.apache.thrift7.protocol.TType.I32) {
-            this.task_id = iprot.readI32();
-            set_task_id_isSet(true);
-          } else { 
-            org.apache.thrift7.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        case 2: // COMPONENT_ID
-          if (field.type == org.apache.thrift7.protocol.TType.STRING) {
-            this.component_id = iprot.readString();
-          } else { 
-            org.apache.thrift7.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        case 3: // HOST
-          if (field.type == org.apache.thrift7.protocol.TType.STRING) {
-            this.host = iprot.readString();
-          } else { 
-            org.apache.thrift7.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        case 4: // PORT
-          if (field.type == org.apache.thrift7.protocol.TType.I32) {
-            this.port = iprot.readI32();
-            set_port_isSet(true);
-          } else { 
-            org.apache.thrift7.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        case 5: // UPTIME_SECS
-          if (field.type == org.apache.thrift7.protocol.TType.I32) {
-            this.uptime_secs = iprot.readI32();
-            set_uptime_secs_isSet(true);
-          } else { 
-            org.apache.thrift7.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        case 6: // ERRORS
-          if (field.type == org.apache.thrift7.protocol.TType.LIST) {
-            {
-              org.apache.thrift7.protocol.TList _list185 = iprot.readListBegin();
-              this.errors = new ArrayList<ErrorInfo>(_list185.size);
-              for (int _i186 = 0; _i186 < _list185.size; ++_i186)
-              {
-                ErrorInfo _elem187; // required
-                _elem187 = new ErrorInfo();
-                _elem187.read(iprot);
-                this.errors.add(_elem187);
-              }
-              iprot.readListEnd();
-            }
-          } else { 
-            org.apache.thrift7.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        case 7: // STATS
-          if (field.type == org.apache.thrift7.protocol.TType.STRUCT) {
-            this.stats = new TaskStats();
-            this.stats.read(iprot);
-          } else { 
-            org.apache.thrift7.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        case 8: // COMPONENT_TYPE
-          if (field.type == org.apache.thrift7.protocol.TType.STRING) {
-            this.component_type = iprot.readString();
-          } else { 
-            org.apache.thrift7.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        case 9: // STATUS
-          if (field.type == org.apache.thrift7.protocol.TType.STRING) {
-            this.status = iprot.readString();
-          } else { 
-            org.apache.thrift7.protocol.TProtocolUtil.skip(iprot, field.type);
-          }
-          break;
-        default:
-          org.apache.thrift7.protocol.TProtocolUtil.skip(iprot, field.type);
-      }
-      iprot.readFieldEnd();
-    }
-    iprot.readStructEnd();
-    validate();
-  }
-
-  public void write(org.apache.thrift7.protocol.TProtocol oprot) throws org.apache.thrift7.TException {
-    validate();
-
-    oprot.writeStructBegin(STRUCT_DESC);
-    oprot.writeFieldBegin(TASK_ID_FIELD_DESC);
-    oprot.writeI32(this.task_id);
-    oprot.writeFieldEnd();
-    if (this.component_id != null) {
-      oprot.writeFieldBegin(COMPONENT_ID_FIELD_DESC);
-      oprot.writeString(this.component_id);
-      oprot.writeFieldEnd();
-    }
-    if (this.host != null) {
-      oprot.writeFieldBegin(HOST_FIELD_DESC);
-      oprot.writeString(this.host);
-      oprot.writeFieldEnd();
-    }
-    oprot.writeFieldBegin(PORT_FIELD_DESC);
-    oprot.writeI32(this.port);
-    oprot.writeFieldEnd();
-    if (is_set_uptime_secs()) {
-      oprot.writeFieldBegin(UPTIME_SECS_FIELD_DESC);
-      oprot.writeI32(this.uptime_secs);
-      oprot.writeFieldEnd();
-    }
-    if (this.errors != null) {
-      if (is_set_errors()) {
-        oprot.writeFieldBegin(ERRORS_FIELD_DESC);
-        {
-          oprot.writeListBegin(new org.apache.thrift7.protocol.TList(org.apache.thrift7.protocol.TType.STRUCT, this.errors.size()));
-          for (ErrorInfo _iter188 : this.errors)
-          {
-            _iter188.write(oprot);
-          }
-          oprot.writeListEnd();
-        }
-        oprot.writeFieldEnd();
-      }
-    }
-    if (this.stats != null) {
-      if (is_set_stats()) {
-        oprot.writeFieldBegin(STATS_FIELD_DESC);
-        this.stats.write(oprot);
-        oprot.writeFieldEnd();
-      }
-    }
-    if (this.component_type != null) {
-      if (is_set_component_type()) {
-        oprot.writeFieldBegin(COMPONENT_TYPE_FIELD_DESC);
-        oprot.writeString(this.component_type);
-        oprot.writeFieldEnd();
-      }
-    }
-    if (this.status != null) {
-      if (is_set_status()) {
-        oprot.writeFieldBegin(STATUS_FIELD_DESC);
-        oprot.writeString(this.status);
-        oprot.writeFieldEnd();
-      }
-    }
-    oprot.writeFieldStop();
-    oprot.writeStructEnd();
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("TaskSummary(");
-    boolean first = true;
-
-    sb.append("task_id:");
-    sb.append(this.task_id);
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("component_id:");
-    if (this.component_id == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.component_id);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("host:");
-    if (this.host == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.host);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("port:");
-    sb.append(this.port);
-    first = false;
-    if (is_set_uptime_secs()) {
-      if (!first) sb.append(", ");
-      sb.append("uptime_secs:");
-      sb.append(this.uptime_secs);
-      first = false;
-    }
-    if (is_set_errors()) {
-      if (!first) sb.append(", ");
-      sb.append("errors:");
-      if (this.errors == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.errors);
-      }
-      first = false;
-    }
-    if (is_set_stats()) {
-      if (!first) sb.append(", ");
-      sb.append("stats:");
-      if (this.stats == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.stats);
-      }
-      first = false;
-    }
-    if (is_set_component_type()) {
-      if (!first) sb.append(", ");
-      sb.append("component_type:");
-      if (this.component_type == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.component_type);
-      }
-      first = false;
-    }
-    if (is_set_status()) {
-      if (!first) sb.append(", ");
-      sb.append("status:");
-      if (this.status == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.status);
-      }
-      first = false;
-    }
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.thrift7.TException {
-    // check for required fields
-    if (!is_set_task_id()) {
-      throw new org.apache.thrift7.protocol.TProtocolException("Required field 'task_id' is unset! Struct:" + toString());
-    }
-
-    if (!is_set_component_id()) {
-      throw new org.apache.thrift7.protocol.TProtocolException("Required field 'component_id' is unset! Struct:" + toString());
-    }
-
-    if (!is_set_host()) {
-      throw new org.apache.thrift7.protocol.TProtocolException("Required field 'host' is unset! Struct:" + toString());
-    }
-
-    if (!is_set_port()) {
-      throw new org.apache.thrift7.protocol.TProtocolException("Required field 'port' is unset! Struct:" + toString());
-    }
-
-  }
-
-  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-    try {
-      write(new org.apache.thrift7.protocol.TCompactProtocol(new org.apache.thrift7.transport.TIOStreamTransport(out)));
-    } catch (org.apache.thrift7.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-    try {
-      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-      __isset_bit_vector = new BitSet(1);
-      read(new org.apache.thrift7.protocol.TCompactProtocol(new org.apache.thrift7.transport.TIOStreamTransport(in)));
-    } catch (org.apache.thrift7.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/storm/blob/e935da91/jstorm-client/src/main/java/backtype/storm/generated/ThriftResourceType.java
----------------------------------------------------------------------
diff --git a/jstorm-client/src/main/java/backtype/storm/generated/ThriftResourceType.java b/jstorm-client/src/main/java/backtype/storm/generated/ThriftResourceType.java
deleted file mode 100644
index 34617a6..0000000
--- a/jstorm-client/src/main/java/backtype/storm/generated/ThriftResourceType.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.7.0)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- */
-package backtype.storm.generated;
-
-
-import java.util.Map;
-import java.util.HashMap;
-import org.apache.thrift7.TEnum;
-
-public enum ThriftResourceType implements org.apache.thrift7.TEnum {
-  UNKNOWN(1),
-  MEM(2),
-  NET(3);
-
-  private final int value;
-
-  private ThriftResourceType(int value) {
-    this.value = value;
-  }
-
-  /**
-   * Get the integer value of this enum value, as defined in the Thrift IDL.
-   */
-  public int getValue() {
-    return value;
-  }
-
-  /**
-   * Find a the enum type by its integer value, as defined in the Thrift IDL.
-   * @return null if the value is not found.
-   */
-  public static ThriftResourceType findByValue(int value) { 
-    switch (value) {
-      case 1:
-        return UNKNOWN;
-      case 2:
-        return MEM;
-      case 3:
-        return NET;
-      default:
-        return null;
-    }
-  }
-}