public void write(PortableWriter writer) throws IOException {
writer.writeUTF("u", uuid);
writer.writeInt("p", partitionId);
writer.writeBoolean("i", interrupt);
ObjectDataOutput rawDataOutput = writer.getRawDataOutput();
rawDataOutput.writeObject(target);
}
@Override
public void read(PortableReader reader) throws IOException {
uuid = reader.readUTF("u");