case 1: // MEM_ON_HEAP if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.mem_on_heap = iprot.readDouble(); struct.set_mem_on_heap_isSet(true); } else { case 2: // MEM_OFF_HEAP if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.mem_off_heap = iprot.readDouble(); struct.set_mem_off_heap_isSet(true); } else { case 3: // CPU if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.cpu = iprot.readDouble(); struct.set_cpu_isSet(true); } else { case 4: // SHARED_MEM_ON_HEAP if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.shared_mem_on_heap = iprot.readDouble(); struct.set_shared_mem_on_heap_isSet(true); } else { case 5: // SHARED_MEM_OFF_HEAP if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.shared_mem_off_heap = iprot.readDouble(); struct.set_shared_mem_off_heap_isSet(true); } else {
case DOUBLE_ARG: java.lang.Double double_arg; double_arg = iprot.readDouble(); return double_arg; default:
case 1: // EXECUTE_LATENCY_MS if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.execute_latency_ms = iprot.readDouble(); struct.set_execute_latency_ms_isSet(true); } else { case 2: // PROCESS_LATENCY_MS if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.process_latency_ms = iprot.readDouble(); struct.set_process_latency_ms_isSet(true); } else { case 4: // CAPACITY if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.capacity = iprot.readDouble(); struct.set_capacity_isSet(true); } else {
case 2: // ON_HEAP if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.on_heap = iprot.readDouble(); struct.set_on_heap_isSet(true); } else { case 3: // OFF_HEAP_WORKER if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.off_heap_worker = iprot.readDouble(); struct.set_off_heap_worker_isSet(true); } else { case 4: // OFF_HEAP_NODE if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.off_heap_node = iprot.readDouble(); struct.set_off_heap_node_isSet(true); } else {
case 5: // MEMORY_USAGE if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.memory_usage = iprot.readDouble(); struct.set_memory_usage_isSet(true); } else { case 6: // CPU_USAGE if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.cpu_usage = iprot.readDouble(); struct.set_cpu_usage_isSet(true); } else { case 7: // MEMORY_GUARANTEE if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.memory_guarantee = iprot.readDouble(); struct.set_memory_guarantee_isSet(true); } else { case 8: // CPU_GUARANTEE if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.cpu_guarantee = iprot.readDouble(); struct.set_cpu_guarantee_isSet(true); } else { case 9: // MEMORY_GUARANTEE_REMAINING if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.memory_guarantee_remaining = iprot.readDouble(); struct.set_memory_guarantee_remaining_isSet(true); } else {
public void read(org.apache.storm.thrift.protocol.TProtocol iprot, SpoutAggregateStats struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.storm.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // COMPLETE_LATENCY_MS if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.complete_latency_ms = iprot.readDouble(); struct.set_complete_latency_ms_isSet(true); } else { org.apache.storm.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.storm.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); struct.validate(); }
_val282 = iprot.readDouble(); _val278.put(_key281, _val282);
_val416 = iprot.readDouble(); struct.window_to_complete_latencies_ms.put(_key415, _val416);
_val128 = iprot.readDouble(); struct.total_resources.put(_key127, _val128); case 8: // USED_MEM if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.used_mem = iprot.readDouble(); struct.set_used_mem_isSet(true); } else { case 9: // USED_CPU if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.used_cpu = iprot.readDouble(); struct.set_used_cpu_isSet(true); } else { case 10: // FRAGMENTED_MEM if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.fragmented_mem = iprot.readDouble(); struct.set_fragmented_mem_isSet(true); } else { case 11: // FRAGMENTED_CPU if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.fragmented_cpu = iprot.readDouble(); struct.set_fragmented_cpu_isSet(true); } else {
case 4: // RATE if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.rate = iprot.readDouble(); struct.set_rate_isSet(true); } else {
_val710 = iprot.readDouble(); struct.total_shared_off_heap.put(_key709, _val710);
case 2: // SAMPLINGPCT if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.samplingpct = iprot.readDouble(); struct.set_samplingpct_isSet(true); } else {
case 521: // REQUESTED_MEMONHEAP if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.requested_memonheap = iprot.readDouble(); struct.set_requested_memonheap_isSet(true); } else { case 522: // REQUESTED_MEMOFFHEAP if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.requested_memoffheap = iprot.readDouble(); struct.set_requested_memoffheap_isSet(true); } else { case 523: // REQUESTED_CPU if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.requested_cpu = iprot.readDouble(); struct.set_requested_cpu_isSet(true); } else { case 524: // ASSIGNED_MEMONHEAP if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.assigned_memonheap = iprot.readDouble(); struct.set_assigned_memonheap_isSet(true); } else { case 525: // ASSIGNED_MEMOFFHEAP if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.assigned_memoffheap = iprot.readDouble(); struct.set_assigned_memoffheap_isSet(true); } else {
if (field.type == DOUBLE_ARG_FIELD_DESC.type) { java.lang.Double double_arg; double_arg = iprot.readDouble(); return double_arg; } else {
_val576 = iprot.readDouble(); _val572.put(_key575, _val576);
case 521: // REQUESTED_MEMONHEAP if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.requested_memonheap = iprot.readDouble(); struct.set_requested_memonheap_isSet(true); } else { case 522: // REQUESTED_MEMOFFHEAP if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.requested_memoffheap = iprot.readDouble(); struct.set_requested_memoffheap_isSet(true); } else { case 523: // REQUESTED_CPU if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.requested_cpu = iprot.readDouble(); struct.set_requested_cpu_isSet(true); } else { case 524: // ASSIGNED_MEMONHEAP if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.assigned_memonheap = iprot.readDouble(); struct.set_assigned_memonheap_isSet(true); } else { case 525: // ASSIGNED_MEMOFFHEAP if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.assigned_memoffheap = iprot.readDouble(); struct.set_assigned_memoffheap_isSet(true); } else {
_val634 = iprot.readDouble(); struct.resources_map.put(_key633, _val634);
case 4: // TOTAL_NODE_SHARED if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.total_node_shared = iprot.readDouble(); struct.set_total_node_shared_isSet(true); } else {
_val398 = iprot.readDouble(); struct.resources_map.put(_key397, _val398);
case 3: // METRIC_VALUE if (schemeField.type == org.apache.storm.thrift.protocol.TType.DOUBLE) { struct.metricValue = iprot.readDouble(); struct.set_metricValue_isSet(true); } else {