public class Timestamp extends Object implements com.hazelcast.nio.serialization.IdentifiedDataSerializable
| Constructor and Description |
|---|
Timestamp() |
Timestamp(Object key,
long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
int |
getFactoryId() |
int |
getId() |
Object |
getKey() |
long |
getTimestamp() |
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
String |
toString() |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
public Timestamp()
public Timestamp(Object key, long timestamp)
public Object getKey()
public long getTimestamp()
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 getId()
getId in interface com.hazelcast.nio.serialization.IdentifiedDataSerializableCopyright © 2017. All Rights Reserved.