|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 DataSerializable
dataOutput
- output
IOException
public void readData(ObjectDataInput dataInput) throws IOException
DataSerializable
readData
in interface DataSerializable
dataInput
- input
IOException
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |