@Override protected void readInternal(ObjectDataInput in) throws IOException { super.readInternal(in); itemId = in.readLong(); value = in.readData(); }
protected void readInternal(ObjectDataInput in) throws IOException { super.readInternal(in); from = in.readInt(); to = in.readInt(); }
@Override protected void writeInternal(ObjectDataOutput out) throws IOException { super.writeInternal(out); out.writeLong(itemId); out.writeData(value); }
protected void writeInternal(ObjectDataOutput out) throws IOException { super.writeInternal(out); out.writeInt(from); out.writeInt(to); }