public class Timestamp extends Object implements com.hazelcast.nio.serialization.IdentifiedDataSerializable
| Constructor and Description |
|---|
Timestamp() |
Timestamp(Object key,
long timestamp,
UUID senderId) |
| Modifier and Type | Method and Description |
|---|---|
int |
getClassId() |
int |
getFactoryId() |
Object |
getKey() |
UUID |
getSenderId() |
long |
getTimestamp() |
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
String |
toString() |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
public Object getKey()
public long getTimestamp()
public UUID getSenderId()
public void writeData(com.hazelcast.nio.ObjectDataOutput out)
throws IOException
writeData in interface com.hazelcast.nio.serialization.DataSerializableIOExceptionpublic void readData(com.hazelcast.nio.ObjectDataInput in)
throws IOException
readData in interface com.hazelcast.nio.serialization.DataSerializableIOExceptionpublic int getFactoryId()
getFactoryId in interface com.hazelcast.nio.serialization.IdentifiedDataSerializablepublic int getClassId()
getClassId in interface com.hazelcast.nio.serialization.IdentifiedDataSerializableCopyright © 2021. All rights reserved.