@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { super.fromData(in); this.numRecipients = InternalDataSerializer.readArrayLength(in); if ((flags & HAS_BUCKET_BITSET) != 0) { this.bucketBitSet = BitSetSet.fromData(in); } }
@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { super.fromData(in); this.numRecipients = InternalDataSerializer.readArrayLength(in); if ((flags & HAS_BUCKET_BITSET) != 0) { this.bucketBitSet = BitSetSet.fromData(in); } }
@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { super.fromData(in); this.numRecipients = InternalDataSerializer.readArrayLength(in); if ((flags & HAS_BUCKET_BITSET) != 0) { this.bucketBitSet = BitSetSet.fromData(in); } }
@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { super.fromData(in); ser_deser_time = this.timeStatsEnabled ? (ser_deser_time == 0 ? -1 /*record*/ : -2/*ignore nested call*/) : 0; this.bucketId = KeyInfo.UNKNOWN_BUCKET; // read region first if ((flags & IS_PARTITIONED_TABLE) != 0) { this.prId = (int)InternalDataSerializer.readUnsignedVL(in); if ((flags & HAS_BUCKET_ID) != 0) { this.bucketId = (int)InternalDataSerializer.readUnsignedVL(in); } } else { this.regionPath = DataSerializer.readString(in); } // read the key this.key = DataSerializer.readObject(in); // callback argument if ((flags & HAS_CALLBACK_ARG) != 0) { this.callbackArg = DataSerializer.readObject(in); } this.isSecondaryCopy = ((flags & SECONDARY_COPY) != 0); this.allCopies = ((flags & ALL_COPIES) != 0); // 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 { super.fromData(in); ser_deser_time = this.timeStatsEnabled ? (ser_deser_time == 0 ? -1 /*record*/ : -2/*ignore nested call*/) : 0; this.bucketId = KeyInfo.UNKNOWN_BUCKET; // read region first if ((flags & IS_PARTITIONED_TABLE) != 0) { this.prId = (int)InternalDataSerializer.readUnsignedVL(in); if ((flags & HAS_BUCKET_ID) != 0) { this.bucketId = (int)InternalDataSerializer.readUnsignedVL(in); } } else { this.regionPath = DataSerializer.readString(in); } // read the key this.key = DataSerializer.readObject(in); // callback argument if ((flags & HAS_CALLBACK_ARG) != 0) { this.callbackArg = DataSerializer.readObject(in); } this.isSecondaryCopy = ((flags & SECONDARY_COPY) != 0); this.allCopies = ((flags & ALL_COPIES) != 0); // 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 { super.fromData(in); ser_deser_time = this.timeStatsEnabled ? (ser_deser_time == 0 ? -1 /*record*/ : -2/*ignore nested call*/) : 0; this.bucketId = KeyInfo.UNKNOWN_BUCKET; // read region first if ((flags & IS_PARTITIONED_TABLE) != 0) { this.prId = (int)InternalDataSerializer.readUnsignedVL(in); if ((flags & HAS_BUCKET_ID) != 0) { this.bucketId = (int)InternalDataSerializer.readUnsignedVL(in); } } else { this.regionPath = DataSerializer.readString(in); } // read the key this.key = DataSerializer.readObject(in); // callback argument if ((flags & HAS_CALLBACK_ARG) != 0) { this.callbackArg = DataSerializer.readObject(in); } this.isSecondaryCopy = ((flags & SECONDARY_COPY) != 0); this.allCopies = ((flags & ALL_COPIES) != 0); // recording end of de-serialization here instead of AbstractOperationMessage. if (this.timeStatsEnabled && ser_deser_time == -1) { this.ser_deser_time = XPLAINUtil.recordStdTiming(getTimestamp()); } }