| Modifier and Type | Class and Description |
|---|---|
class |
Epoch
Epoch.
|
class |
VectorTimestamp<T extends io.atomix.utils.Identifier>
Vector clock timestamp.
|
| Modifier and Type | Method and Description |
|---|---|
LogicalTimestamp |
VectorClock.getLocalTimestamp()
Returns the local logical timestamp.
|
LogicalTimestamp |
LogicalClock.getTime() |
LogicalTimestamp |
VectorClock.getTimestamp(T identifier)
Returns the logical timestamp for the given identifier.
|
LogicalTimestamp |
LogicalClock.increment()
Increments the clock and returns the new timestamp.
|
LogicalTimestamp |
LogicalClock.incrementAndUpdate(LogicalTimestamp timestamp)
Increments the clock and updates it using the given timestamp.
|
static LogicalTimestamp |
LogicalTimestamp.of(long value)
Returns a new logical timestamp for the given logical time.
|
LogicalTimestamp |
LogicalClock.update(LogicalTimestamp timestamp)
Updates the clock using the given timestamp.
|
| Modifier and Type | Method and Description |
|---|---|
LogicalTimestamp |
LogicalClock.incrementAndUpdate(LogicalTimestamp timestamp)
Increments the clock and updates it using the given timestamp.
|
LogicalTimestamp |
LogicalClock.update(LogicalTimestamp timestamp)
Updates the clock using the given timestamp.
|
| Constructor and Description |
|---|
LogicalClock(LogicalTimestamp currentTimestamp) |
Copyright © 2013–2019. All rights reserved.