@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { super.fromData(in); if (!this.timeStatsEnabled) { this.responseCode = GfxdResponseCode.fromData(in); this.singleResult = DataSerializer.readObject(in); } else { this.construct_time = XPLAINUtil.currentTimeStamp(); this.responseCode = GfxdResponseCode.fromData(in); this.singleResult = DataSerializer.readObject(in); this.ser_deser_time = XPLAINUtil.recordStdTiming(getTimestamp()); } }
@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { super.fromData(in); if (!this.timeStatsEnabled) { this.responseCode = GfxdResponseCode.fromData(in); this.singleResult = DataSerializer.readObject(in); } else { this.construct_time = XPLAINUtil.currentTimeStamp(); this.responseCode = GfxdResponseCode.fromData(in); this.singleResult = DataSerializer.readObject(in); this.ser_deser_time = XPLAINUtil.recordStdTiming(getTimestamp()); } }
@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { super.fromData(in); if (!this.timeStatsEnabled) { this.responseCode = GfxdResponseCode.fromData(in); this.singleResult = DataSerializer.readObject(in); } else { this.construct_time = XPLAINUtil.currentTimeStamp(); this.responseCode = GfxdResponseCode.fromData(in); this.singleResult = DataSerializer.readObject(in); this.ser_deser_time = XPLAINUtil.recordStdTiming(getTimestamp()); } }