| Package | Description |
|---|---|
| pt.unl.fct.di.novasys.babel.crdts.delta.causal.utils | |
| pt.unl.fct.di.novasys.babel.crdts.state.utils | |
| pt.unl.fct.di.novasys.babel.crdts.utils |
| Modifier and Type | Field and Description |
|---|---|
protected Set<Timestamp> |
CausalContext.dotCloud |
protected Map<Timestamp,SerializableType> |
CausalKernel.dotStore |
| Modifier and Type | Method and Description |
|---|---|
Timestamp |
CausalKernel.addDot(ReplicaID replicaID,
SerializableType value) |
Timestamp |
CausalContext.makeDot(ReplicaID id) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Timestamp> |
CausalKernel.getDots() |
Iterator<Map.Entry<Timestamp,SerializableType>> |
CausalKernel.getDotStore() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CausalContext.contains(Timestamp dot) |
void |
CausalContext.insertDot(Timestamp ts,
boolean toCompact) |
CausalKernel |
CausalKernel.removeDot(Timestamp dot) |
| Modifier and Type | Field and Description |
|---|---|
static pt.unl.fct.di.novasys.network.ISerializer<Timestamp> |
Timestamp.serializer
A serializer to serialize a given timestamp.
|
| Modifier and Type | Method and Description |
|---|---|
Timestamp |
Timestamp.copy()
Creates a copy of this timestamp.
|
Timestamp |
VVState.incClock()
Increments the "clock" of the replica (i.e., increments the specific entry of the replica in question) by generating a new timestamp
|
Timestamp |
VVContext.incClock() |
static Timestamp |
Timestamp.max(Timestamp ts1,
Timestamp ts2)
Compares two timestamps.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Timestamp.compareTo(Timestamp o)
Compares a timestamp passed as argument with this timestamp.
|
boolean |
VersionVector.contains(Timestamp ts)
Checks if a timestamp is cointained (i.e., if the counter is more recent) in
the version vector
|
boolean |
Timestamp.isBigger(Timestamp ts)
Checks if a given timestamp is bigger than the current counter
|
boolean |
Timestamp.isBiggerOrEqual(Timestamp ts)
Checks if a given timestamp is bigger or equal than the current counter
|
boolean |
Timestamp.isEqual(Timestamp ts)
Checks if a given timestamp is equal than the current counter
|
boolean |
Timestamp.isSmaller(Timestamp ts)
Checks if a given timestamp is smaller than the current counter
|
boolean |
Timestamp.isSmallerOrEqual(Timestamp ts)
Checks if a given timestamp is smaller or equal than the current counter
|
static Timestamp |
Timestamp.max(Timestamp ts1,
Timestamp ts2)
Compares two timestamps.
|
void |
VVState.mergeTs(Timestamp ts)
Method called when merging the state with other replica.
|
void |
VVContext.mergeTs(Timestamp ts) |
void |
VersionVector.updateTs(Timestamp ts)
Updates the version vector with a given timestamp, if there is a valid entry
for the replica in question.
|
void |
VVState.updateTs(Timestamp ts)
Updates the replica's version vector with a given timestamp.
|
void |
VVContext.updateTs(Timestamp ts) |
| Modifier and Type | Method and Description |
|---|---|
Timestamp |
ValueTsPair.getTs()
Gets the timestamp associated with the value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ValueTsPair.setTs(Timestamp ts)
Sets the timestamp of the pair
|
| Constructor and Description |
|---|
ValueTsPair(V value,
Timestamp ts)
Creates a pair value and timestamp.
|
Copyright © 2024. All rights reserved.