@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { ser_deser_time = this.timeStatsEnabled ? (ser_deser_time == 0 ? -1 /*record*/ : -2/*ignore nested call*/) : 0; super.fromData(in); try { // for source as not-null take the serialized byte array to avoid taking // long time in preparing the statement and thus potentially blocking // message reader threads this.pvsData = DataSerializer.readByteArray(in); } catch (RuntimeException ex) { throw ex; } finally { // recording end of de-serialization here instead of AbstractOperationMessage. if (this.timeStatsEnabled && ser_deser_time == -1) { this.ser_deser_time = XPLAINUtil.recordStdTiming(getTimestamp()); } } }
@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { ser_deser_time = this.timeStatsEnabled ? (ser_deser_time == 0 ? -1 /*record*/ : -2/*ignore nested call*/) : 0; super.fromData(in); try { // for source as not-null take the serialized byte array to avoid taking // long time in preparing the statement and thus potentially blocking // message reader threads this.pvsData = DataSerializer.readByteArray(in); } catch (RuntimeException ex) { throw ex; } finally { // recording end of de-serialization here instead of AbstractOperationMessage. if (this.timeStatsEnabled && ser_deser_time == -1) { this.ser_deser_time = XPLAINUtil.recordStdTiming(getTimestamp()); } } }
@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { ser_deser_time = this.timeStatsEnabled ? (ser_deser_time == 0 ? -1 /*record*/ : -2/*ignore nested call*/) : 0; super.fromData(in); try { // for source as not-null take the serialized byte array to avoid taking // long time in preparing the statement and thus potentially blocking // message reader threads this.pvsData = DataSerializer.readByteArray(in); } catch (RuntimeException ex) { throw ex; } finally { // recording end of de-serialization here instead of AbstractOperationMessage. if (this.timeStatsEnabled && ser_deser_time == -1) { this.ser_deser_time = XPLAINUtil.recordStdTiming(getTimestamp()); } } }