@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, SpoutAggregateStats struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.is_set_complete_latency_ms()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.is_set_complete_latency_ms()) { oprot.writeDouble(struct.complete_latency_ms); } }
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, SharedMemory struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeString(struct.name); java.util.BitSet optionals = new java.util.BitSet(); if (struct.is_set_on_heap()) { optionals.set(0); } if (struct.is_set_off_heap_worker()) { optionals.set(1); } if (struct.is_set_off_heap_node()) { optionals.set(2); } oprot.writeBitSet(optionals, 3); if (struct.is_set_on_heap()) { oprot.writeDouble(struct.on_heap); } if (struct.is_set_off_heap_worker()) { oprot.writeDouble(struct.off_heap_worker); } if (struct.is_set_off_heap_node()) { oprot.writeDouble(struct.off_heap_node); } }
oprot.writeDouble(struct.rate);
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, BoltAggregateStats struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.is_set_execute_latency_ms()) { optionals.set(0); } if (struct.is_set_process_latency_ms()) { optionals.set(1); } if (struct.is_set_executed()) { optionals.set(2); } if (struct.is_set_capacity()) { optionals.set(3); } oprot.writeBitSet(optionals, 4); if (struct.is_set_execute_latency_ms()) { oprot.writeDouble(struct.execute_latency_ms); } if (struct.is_set_process_latency_ms()) { oprot.writeDouble(struct.process_latency_ms); } if (struct.is_set_executed()) { oprot.writeI64(struct.executed); } if (struct.is_set_capacity()) { oprot.writeDouble(struct.capacity); } }
oprot.writeDouble(_iter295.getValue());
oprot.writeDouble(struct.mem_on_heap); oprot.writeDouble(struct.mem_off_heap); oprot.writeDouble(struct.cpu); oprot.writeDouble(struct.shared_mem_on_heap); oprot.writeDouble(struct.shared_mem_off_heap); oprot.writeDouble(_iter676.getValue()); oprot.writeDouble(_iter677.getValue());
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, DebugOptions struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.is_set_enable()) { optionals.set(0); } if (struct.is_set_samplingpct()) { optionals.set(1); } oprot.writeBitSet(optionals, 2); if (struct.is_set_enable()) { oprot.writeBool(struct.enable); } if (struct.is_set_samplingpct()) { oprot.writeDouble(struct.samplingpct); } }
oprot.writeDouble(_iter215.getValue()); oprot.writeDouble(_iter219.getValue());
@Override public void write(org.apache.storm.thrift.protocol.TProtocol prot, WorkerMetricPoint struct) throws org.apache.storm.thrift.TException { org.apache.storm.thrift.protocol.TTupleProtocol oprot = (org.apache.storm.thrift.protocol.TTupleProtocol) prot; oprot.writeString(struct.metricName); oprot.writeI64(struct.timestamp); oprot.writeDouble(struct.metricValue); oprot.writeString(struct.componentId); oprot.writeString(struct.executorId); oprot.writeString(struct.streamId); }
oprot.writeDouble(_iter131.getValue()); oprot.writeDouble(struct.used_mem); oprot.writeDouble(struct.used_cpu); oprot.writeDouble(struct.fragmented_mem); oprot.writeDouble(struct.fragmented_cpu);
oprot.writeDouble(_iter433.getValue());
oprot.writeDouble(struct.memory_usage); oprot.writeDouble(struct.cpu_usage); oprot.writeDouble(struct.memory_guarantee); oprot.writeDouble(struct.cpu_guarantee); oprot.writeDouble(struct.memory_guarantee_remaining); oprot.writeDouble(struct.cpu_guarantee_remaining); oprot.writeDouble(struct.requested_on_heap_memory); oprot.writeDouble(struct.requested_off_heap_memory); oprot.writeDouble(struct.requested_total_memory); oprot.writeDouble(struct.requested_cpu); oprot.writeDouble(struct.assigned_on_heap_memory); oprot.writeDouble(struct.assigned_off_heap_memory);
oprot.writeDouble(_iter583.getValue());
oprot.writeDouble(struct.total_node_shared);
oprot.writeDouble(_iter725.getValue());
oprot.writeDouble(struct.requested_memonheap); oprot.writeDouble(struct.requested_memoffheap); oprot.writeDouble(struct.requested_cpu); oprot.writeDouble(struct.assigned_memonheap); oprot.writeDouble(struct.assigned_memoffheap); oprot.writeDouble(struct.assigned_cpu);
oprot.writeDouble(struct.requested_memonheap); oprot.writeDouble(struct.requested_memoffheap); oprot.writeDouble(struct.requested_cpu); oprot.writeDouble(struct.assigned_memonheap); oprot.writeDouble(struct.assigned_memoffheap); oprot.writeDouble(struct.assigned_cpu);
oprot.writeDouble(_iter401.getValue());
oprot.writeDouble(struct.requested_memonheap); oprot.writeDouble(struct.requested_memoffheap); oprot.writeDouble(struct.requested_cpu); oprot.writeDouble(struct.assigned_memonheap); oprot.writeDouble(struct.assigned_memoffheap); oprot.writeDouble(struct.assigned_cpu);
oprot.writeDouble(_iter643.getValue());