public class VersionedValue extends Object implements DataSerializable
Data
value objects with version information.Constructor and Description |
---|
VersionedValue() |
VersionedValue(Data value,
long version) |
Modifier and Type | Method and Description |
---|---|
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public VersionedValue(Data value, long version)
public VersionedValue()
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.