com.hazelcast.map.impl.tx
Class VersionedValue

java.lang.Object
  extended by com.hazelcast.map.impl.tx.VersionedValue
All Implemented Interfaces:
DataSerializable

public class VersionedValue
extends Object
implements DataSerializable

Wrapper for Data value objects with version information.


Constructor Summary
VersionedValue()
           
VersionedValue(Data value, long version)
           
 
Method Summary
 void readData(ObjectDataInput in)
          Reads fields from the input stream
 void writeData(ObjectDataOutput out)
          Writes object fields to output stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionedValue

public VersionedValue(Data value,
                      long version)

VersionedValue

public VersionedValue()
Method Detail

writeData

public void writeData(ObjectDataOutput out)
               throws IOException
Description copied from interface: DataSerializable
Writes object fields to output stream

Specified by:
writeData in interface DataSerializable
Parameters:
out - output
Throws:
IOException

readData

public void readData(ObjectDataInput in)
              throws IOException
Description copied from interface: DataSerializable
Reads fields from the input stream

Specified by:
readData in interface DataSerializable
Parameters:
in - input
Throws:
IOException


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.