@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, SpoutAggregateStats struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.complete_latency_ms = iprot.readDouble(); struct.set_complete_latency_ms_isSet(true); } } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, SharedMemory struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.name = iprot.readString(); struct.set_name_isSet(true); java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.on_heap = iprot.readDouble(); struct.set_on_heap_isSet(true); } if (incoming.get(1)) { struct.off_heap_worker = iprot.readDouble(); struct.set_off_heap_worker_isSet(true); } if (incoming.get(2)) { struct.off_heap_node = iprot.readDouble(); struct.set_off_heap_node_isSet(true); } } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, BoltAggregateStats struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; java.util.BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.execute_latency_ms = iprot.readDouble(); struct.set_execute_latency_ms_isSet(true); } if (incoming.get(1)) { struct.process_latency_ms = iprot.readDouble(); struct.set_process_latency_ms_isSet(true); } if (incoming.get(2)) { struct.executed = iprot.readI64(); struct.set_executed_isSet(true); } if (incoming.get(3)) { struct.capacity = iprot.readDouble(); struct.set_capacity_isSet(true); } } }
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, DebugOptions struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; java.util.BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.enable = iprot.readBool(); struct.set_enable_isSet(true); } if (incoming.get(1)) { struct.samplingpct = iprot.readDouble(); struct.set_samplingpct_isSet(true); } } }
java.util.BitSet incoming = iprot.readBitSet(7); if (incoming.get(0)) { struct.mem_on_heap = iprot.readDouble(); struct.set_mem_on_heap_isSet(true); struct.mem_off_heap = iprot.readDouble(); struct.set_mem_off_heap_isSet(true); struct.cpu = iprot.readDouble(); struct.set_cpu_isSet(true); struct.shared_mem_on_heap = iprot.readDouble(); struct.set_shared_mem_on_heap_isSet(true); struct.shared_mem_off_heap = iprot.readDouble(); struct.set_shared_mem_off_heap_isSet(true); _val680 = iprot.readDouble(); struct.resources.put(_key679, _val680); _val684 = iprot.readDouble(); struct.shared_resources.put(_key683, _val684);
struct.memory_usage = iprot.readDouble(); struct.set_memory_usage_isSet(true); struct.cpu_usage = iprot.readDouble(); struct.set_cpu_usage_isSet(true); struct.memory_guarantee = iprot.readDouble(); struct.set_memory_guarantee_isSet(true); struct.cpu_guarantee = iprot.readDouble(); struct.set_cpu_guarantee_isSet(true); struct.memory_guarantee_remaining = iprot.readDouble(); struct.set_memory_guarantee_remaining_isSet(true); struct.cpu_guarantee_remaining = iprot.readDouble(); struct.set_cpu_guarantee_remaining_isSet(true); struct.requested_on_heap_memory = iprot.readDouble(); struct.set_requested_on_heap_memory_isSet(true); struct.requested_off_heap_memory = iprot.readDouble(); struct.set_requested_off_heap_memory_isSet(true); struct.requested_total_memory = iprot.readDouble(); struct.set_requested_total_memory_isSet(true); struct.requested_cpu = iprot.readDouble(); struct.set_requested_cpu_isSet(true);
struct.requested_memonheap = iprot.readDouble(); struct.set_requested_memonheap_isSet(true); struct.requested_memoffheap = iprot.readDouble(); struct.set_requested_memoffheap_isSet(true); struct.requested_cpu = iprot.readDouble(); struct.set_requested_cpu_isSet(true); struct.assigned_memonheap = iprot.readDouble(); struct.set_assigned_memonheap_isSet(true); struct.assigned_memoffheap = iprot.readDouble(); struct.set_assigned_memoffheap_isSet(true); struct.assigned_cpu = iprot.readDouble(); struct.set_assigned_cpu_isSet(true);
_val134 = iprot.readDouble(); struct.total_resources.put(_key133, _val134); struct.used_mem = iprot.readDouble(); struct.set_used_mem_isSet(true); struct.used_cpu = iprot.readDouble(); struct.set_used_cpu_isSet(true); struct.fragmented_mem = iprot.readDouble(); struct.set_fragmented_mem_isSet(true); struct.fragmented_cpu = iprot.readDouble(); struct.set_fragmented_cpu_isSet(true);
struct.requested_memonheap = iprot.readDouble(); struct.set_requested_memonheap_isSet(true); struct.requested_memoffheap = iprot.readDouble(); struct.set_requested_memoffheap_isSet(true); struct.requested_cpu = iprot.readDouble(); struct.set_requested_cpu_isSet(true); struct.assigned_memonheap = iprot.readDouble(); struct.set_assigned_memonheap_isSet(true); struct.assigned_memoffheap = iprot.readDouble(); struct.set_assigned_memoffheap_isSet(true); struct.assigned_cpu = iprot.readDouble(); struct.set_assigned_cpu_isSet(true);
_val404 = iprot.readDouble(); struct.resources_map.put(_key403, _val404);
_val318 = iprot.readDouble(); _val314.put(_key317, _val318);
struct.total_node_shared = iprot.readDouble(); struct.set_total_node_shared_isSet(true);
struct.requested_memonheap = iprot.readDouble(); struct.set_requested_memonheap_isSet(true); struct.requested_memoffheap = iprot.readDouble(); struct.set_requested_memoffheap_isSet(true); struct.requested_cpu = iprot.readDouble(); struct.set_requested_cpu_isSet(true); struct.assigned_memonheap = iprot.readDouble(); struct.set_assigned_memonheap_isSet(true); struct.assigned_memoffheap = iprot.readDouble(); struct.set_assigned_memoffheap_isSet(true); struct.assigned_cpu = iprot.readDouble(); struct.set_assigned_cpu_isSet(true);
_val594 = iprot.readDouble(); _val590.put(_key593, _val594);
_val446 = iprot.readDouble(); struct.window_to_complete_latencies_ms.put(_key445, _val446);
_val656 = iprot.readDouble(); struct.resources_map.put(_key655, _val656);
_val242 = iprot.readDouble(); _val238.put(_key241, _val242); _val258 = iprot.readDouble(); _val254.put(_key257, _val258);
struct.specific.read(iprot); struct.set_specific_isSet(true); struct.rate = iprot.readDouble(); struct.set_rate_isSet(true);
_val750 = iprot.readDouble(); struct.total_shared_off_heap.put(_key749, _val750);
@Override public void read(org.apache.storm.thrift.protocol.TProtocol prot, WorkerMetricPoint struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol iprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; struct.metricName = iprot.readString(); struct.set_metricName_isSet(true); struct.timestamp = iprot.readI64(); struct.set_timestamp_isSet(true); struct.metricValue = iprot.readDouble(); struct.set_metricValue_isSet(true); struct.componentId = iprot.readString(); struct.set_componentId_isSet(true); struct.executorId = iprot.readString(); struct.set_executorId_isSet(true); struct.streamId = iprot.readString(); struct.set_streamId_isSet(true); } }