private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.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_bitfield = 0; read(new org.apache.storm.thrift.protocol.TCompactProtocol(new org.apache.storm.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.storm.thrift.TException te) { throw new java.io.IOException(te); } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, SupervisorWorkerHeartbeat struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.storm_id = iprot.readString(); struct.set_storm_id_isSet(true); { org.apache.storm.thrift.protocol.TList _list875 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.executors = new java.util.ArrayList<ExecutorInfo>(_list875.size); ExecutorInfo _elem876; for (int _i877 = 0; _i877 < _list875.size; ++_i877) { _elem876 = new ExecutorInfo(); _elem876.read(iprot); struct.executors.add(_elem876); } } struct.set_executors_isSet(true); struct.time_secs = iprot.readI32(); struct.set_time_secs_isSet(true); } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, LSWorkerHeartbeat struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.time_secs = iprot.readI32(); struct.set_time_secs_isSet(true); struct.topology_id = iprot.readString(); struct.set_topology_id_isSet(true); { org.apache.storm.thrift.protocol.TList _list825 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.executors = new java.util.ArrayList<ExecutorInfo>(_list825.size); ExecutorInfo _elem826; for (int _i827 = 0; _i827 < _list825.size; ++_i827) { _elem826 = new ExecutorInfo(); _elem826.read(iprot); struct.executors.add(_elem826); } } struct.set_executors_isSet(true); struct.port = iprot.readI32(); struct.set_port_isSet(true); } }
_elem798.read(iprot); struct.executors.add(_elem798);
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, ClusterWorkerHeartbeat struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.storm_id = iprot.readString(); struct.set_storm_id_isSet(true); { org.apache.storm.thrift.protocol.TMap _map778 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRUCT, org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.executor_stats = new java.util.HashMap<ExecutorInfo,ExecutorStats>(2*_map778.size); ExecutorInfo _key779; ExecutorStats _val780; for (int _i781 = 0; _i781 < _map778.size; ++_i781) { _key779 = new ExecutorInfo(); _key779.read(iprot); _val780 = new ExecutorStats(); _val780.read(iprot); struct.executor_stats.put(_key779, _val780); } } struct.set_executor_stats_isSet(true); struct.time_secs = iprot.readI32(); struct.set_time_secs_isSet(true); struct.uptime_secs = iprot.readI32(); struct.set_uptime_secs_isSet(true); } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, ExecutorSummary struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.executor_info = new ExecutorInfo(); struct.executor_info.read(iprot); struct.set_executor_info_isSet(true); struct.component_id = iprot.readString(); struct.set_component_id_isSet(true); struct.host = iprot.readString(); struct.set_host_isSet(true); struct.port = iprot.readI32(); struct.set_port_isSet(true); struct.uptime_secs = iprot.readI32(); struct.set_uptime_secs_isSet(true); java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.stats = new ExecutorStats(); struct.stats.read(iprot); struct.set_stats_isSet(true); } } }
_elem871.read(iprot); struct.executors.add(_elem871);
_elem821.read(iprot); struct.executors.add(_elem821);
_key773.read(iprot); _val774 = new ExecutorStats(); _val774.read(iprot);
_elem793.read(iprot); struct.executors.add(_elem793);
if (schemeField.type == org.apache.storm.thrift.protocol.TType.STRUCT) { struct.executor_info = new ExecutorInfo(); struct.executor_info.read(iprot); struct.set_executor_info_isSet(true); } else {
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_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, LocalAssignment struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.topology_id = iprot.readString(); struct.set_topology_id_isSet(true); { org.apache.thrift.protocol.TList _list719 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.executors = new ArrayList<ExecutorInfo>(_list719.size); ExecutorInfo _elem720; for (int _i721 = 0; _i721 < _list719.size; ++_i721) { _elem720 = new ExecutorInfo(); _elem720.read(iprot); struct.executors.add(_elem720); } } struct.set_executors_isSet(true); BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.resources = new WorkerResources(); struct.resources.read(iprot); struct.set_resources_isSet(true); } if (incoming.get(1)) { struct.owner = iprot.readString(); struct.set_owner_isSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, LSWorkerHeartbeat struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.time_secs = iprot.readI32(); struct.set_time_secs_isSet(true); struct.topology_id = iprot.readString(); struct.set_topology_id_isSet(true); { org.apache.thrift.protocol.TList _list747 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.executors = new ArrayList<ExecutorInfo>(_list747.size); ExecutorInfo _elem748; for (int _i749 = 0; _i749 < _list747.size; ++_i749) { _elem748 = new ExecutorInfo(); _elem748.read(iprot); struct.executors.add(_elem748); } } struct.set_executors_isSet(true); struct.port = iprot.readI32(); struct.set_port_isSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, ClusterWorkerHeartbeat struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.storm_id = iprot.readString(); struct.set_storm_id_isSet(true); { org.apache.thrift.protocol.TMap _map700 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRUCT, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.executor_stats = new HashMap<ExecutorInfo,ExecutorStats>(2*_map700.size); ExecutorInfo _key701; ExecutorStats _val702; for (int _i703 = 0; _i703 < _map700.size; ++_i703) { _key701 = new ExecutorInfo(); _key701.read(iprot); _val702 = new ExecutorStats(); _val702.read(iprot); struct.executor_stats.put(_key701, _val702); } } struct.set_executor_stats_isSet(true); struct.time_secs = iprot.readI32(); struct.set_time_secs_isSet(true); struct.uptime_secs = iprot.readI32(); struct.set_uptime_secs_isSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, ExecutorSummary struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.executor_info = new ExecutorInfo(); struct.executor_info.read(iprot); struct.set_executor_info_isSet(true); struct.component_id = iprot.readString(); struct.set_component_id_isSet(true); struct.host = iprot.readString(); struct.set_host_isSet(true); struct.port = iprot.readI32(); struct.set_port_isSet(true); struct.uptime_secs = iprot.readI32(); struct.set_uptime_secs_isSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.stats = new ExecutorStats(); struct.stats.read(iprot); struct.set_stats_isSet(true); } } }
_elem743.read(iprot); struct.executors.add(_elem743);
_elem715.read(iprot); struct.executors.add(_elem715);
_key695.read(iprot); _val696 = new ExecutorStats(); _val696.read(iprot);
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.executor_info = new ExecutorInfo(); struct.executor_info.read(iprot); struct.set_executor_info_isSet(true); } else {