| Package | Description |
|---|---|
| io.atomix.utils.time |
Provides classes and interfaces for representing and operating on both logical and physical representations of time.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Clock<T extends Timestamp>
Clock.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Epoch
Epoch.
|
class |
LogicalTimestamp
Timestamp based on logical sequence value.
|
class |
MultiValuedTimestamp<T extends java.lang.Comparable<T>,U extends java.lang.Comparable<U>>
A logical timestamp that derives its value from two input values.
|
class |
VectorTimestamp<T extends Identifier>
Vector clock timestamp.
|
class |
Version
Logical timestamp for versions.
|
class |
WallClockTimestamp
A Timestamp that derives its value from the prevailing
wallclock time on the controller where it is generated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
WallClockTimestamp.compareTo(Timestamp o) |
int |
MultiValuedTimestamp.compareTo(Timestamp o) |
int |
LogicalTimestamp.compareTo(Timestamp o) |
int |
Version.compareTo(Timestamp o) |
int |
VectorTimestamp.compareTo(Timestamp o) |
default boolean |
Timestamp.isNewerThan(Timestamp other)
Tests if this timestamp is newer than the specified timestamp.
|
default boolean |
Timestamp.isOlderThan(Timestamp other)
Tests if this timestamp is older than the specified timestamp.
|
Copyright © 2013-2019. All Rights Reserved.