public class VectorTimestamp<T extends io.atomix.utils.Identifier> extends LogicalTimestamp
| Constructor and Description |
|---|
VectorTimestamp(T identifier,
long value) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Timestamp o) |
boolean |
equals(Object obj) |
int |
hashCode() |
T |
identifier()
Returns the timestamp identifier.
|
String |
toString() |
asVersion, of, valueisNewerThan, isOlderThanpublic VectorTimestamp(T identifier, long value)
public T identifier()
public int compareTo(Timestamp o)
compareTo in interface Comparable<Timestamp>compareTo in class LogicalTimestamppublic int hashCode()
hashCode in interface TimestamphashCode in class LogicalTimestamppublic boolean equals(Object obj)
equals in interface Timestampequals in class LogicalTimestamppublic String toString()
toString in class LogicalTimestampCopyright © 2013–2019. All rights reserved.