|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hazelcast.replicatedmap.impl.record.VectorClockTimestamp
public final class VectorClockTimestamp
A vector clock implementation based on hashcodes of the Hazelcast members UUID to solve conflicts on replication updates
| Constructor Summary | |
|---|---|
VectorClockTimestamp()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class. |
int |
getId()
Returns type identifier for this class. |
int |
hashCode()
|
void |
readData(ObjectDataInput dataInput)
Reads fields from the input stream |
String |
toString()
|
void |
writeData(ObjectDataOutput dataOutput)
Writes object fields to output stream |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VectorClockTimestamp()
| Method Detail |
|---|
public void writeData(ObjectDataOutput dataOutput)
throws IOException
DataSerializable
writeData in interface DataSerializabledataOutput - output
IOException
public void readData(ObjectDataInput dataInput)
throws IOException
DataSerializable
readData in interface DataSerializabledataInput - input
IOExceptionpublic int getId()
IdentifiedDataSerializable
getId in interface IdentifiedDataSerializablepublic int getFactoryId()
IdentifiedDataSerializable
getFactoryId in interface IdentifiedDataSerializablepublic String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||