private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } }
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); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, SupervisorWorkers struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.supervisor.write(oprot); { oprot.writeI32(struct.workers.size()); for (WorkerSummary _iter145 : struct.workers) { _iter145.write(oprot); } } { oprot.writeI32(struct.workerMetric.size()); for (Map.Entry<String, MetricInfo> _iter146 : struct.workerMetric.entrySet()) { oprot.writeString(_iter146.getKey()); _iter146.getValue().write(oprot); } } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, ClusterSummary struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.nimbus.write(oprot); { oprot.writeI32(struct.supervisors.size()); for (SupervisorSummary _iter90 : struct.supervisors) { _iter90.write(oprot); } } { oprot.writeI32(struct.topologies.size()); for (TopologySummary _iter91 : struct.topologies) { _iter91.write(oprot); } } }
if (struct.supervisor != null) { oprot.writeFieldBegin(SUPERVISOR_FIELD_DESC); struct.supervisor.write(oprot); oprot.writeFieldEnd();
for (SupervisorSummary _iter88 : struct.supervisors) _iter88.write(oprot);
for (SupervisorSummary _iter43 : this.supervisors) _iter43.write(oprot);
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } }
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, SupervisorWorkers struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.supervisor.write(oprot); { oprot.writeI32(struct.workers.size()); for (WorkerSummary _iter145 : struct.workers) { _iter145.write(oprot); } } { oprot.writeI32(struct.workerMetric.size()); for (Map.Entry<String, MetricInfo> _iter146 : struct.workerMetric.entrySet()) { oprot.writeString(_iter146.getKey()); _iter146.getValue().write(oprot); } } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, ClusterSummary struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.nimbus.write(oprot); { oprot.writeI32(struct.supervisors.size()); for (SupervisorSummary _iter90 : struct.supervisors) { _iter90.write(oprot); } } { oprot.writeI32(struct.topologies.size()); for (TopologySummary _iter91 : struct.topologies) { _iter91.write(oprot); } } }
if (struct.supervisor != null) { oprot.writeFieldBegin(SUPERVISOR_FIELD_DESC); struct.supervisor.write(oprot); oprot.writeFieldEnd();
for (SupervisorSummary _iter88 : struct.supervisors) _iter88.write(oprot);
for (SupervisorSummary _iter43 : this.supervisors) _iter43.write(oprot);