public class LogicalTimestamp extends Object implements Timestamp
LogicalTimestamps are ordered by their sequence values.
Constructor and Description |
---|
LogicalTimestamp(long value) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Timestamp o) |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
long |
value()
Returns the sequence value.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isNewerThan, isOlderThan
public int compareTo(Timestamp o)
compareTo
in interface Comparable<Timestamp>
public int hashCode()
public boolean equals(Object obj)
public long value()