public class VersionResponsePair extends Object implements DataSerializable
Constructor and Description |
---|
VersionResponsePair() |
VersionResponsePair(Object response,
long version) |
Modifier and Type | Method and Description |
---|---|
Object |
getResponse() |
long |
getVersion() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public VersionResponsePair()
public VersionResponsePair(Object response, long version)
public Object getResponse()
public long getVersion()
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.