private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { 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 protected java.lang.Object tupleSchemeReadValue(org.apache.storm.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.storm.thrift.TException { _Fields setField = _Fields.findByThriftId(fieldID); if (setField != null) { switch (setField) { case BOLT: BoltStats bolt; bolt = new BoltStats(); bolt.read(iprot); return bolt; case SPOUT: SpoutStats spout; spout = new SpoutStats(); spout.read(iprot); return spout; default: throw new java.lang.IllegalStateException("setField wasn't null, but didn't match any of the case statements!"); } } else { throw new org.apache.storm.thrift.protocol.TProtocolException("Couldn't find a field with field id " + fieldID); } }
SpoutStats spout; spout = new SpoutStats(); spout.read(iprot); return spout; } else {
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { 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 protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException { _Fields setField = _Fields.findByThriftId(fieldID); if (setField != null) { switch (setField) { case BOLT: BoltStats bolt; bolt = new BoltStats(); bolt.read(iprot); return bolt; case SPOUT: SpoutStats spout; spout = new SpoutStats(); spout.read(iprot); return spout; default: throw new IllegalStateException("setField wasn't null, but didn't match any of the case statements!"); } } else { throw new TProtocolException("Couldn't find a field with field id " + fieldID); } }
SpoutStats spout; spout = new SpoutStats(); spout.read(iprot); return spout; } else {