private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; 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 KILL_OPTIONS: KillOptions kill_options; kill_options = new KillOptions(); kill_options.read(iprot); return kill_options; case REBALANCE_OPTIONS: RebalanceOptions rebalance_options; rebalance_options = new RebalanceOptions(); rebalance_options.read(iprot); return rebalance_options; 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); } }
KillOptions kill_options; kill_options = new KillOptions(); kill_options.read(iprot); return kill_options; } else {
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. __isset_bitfield = 0; 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 KILL_OPTIONS: KillOptions kill_options; kill_options = new KillOptions(); kill_options.read(iprot); return kill_options; case REBALANCE_OPTIONS: RebalanceOptions rebalance_options; rebalance_options = new RebalanceOptions(); rebalance_options.read(iprot); return rebalance_options; 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); } }
KillOptions kill_options; kill_options = new KillOptions(); kill_options.read(iprot); return kill_options; } else {