public interface DeltaCRDT extends GenericCRDT
| Modifier and Type | Method and Description |
|---|---|
DeltaBasedCRDT |
generateDelta(VersionVector vv)
Calculates a delta from a given version for the current state
|
ReplicaID |
getReplicaID()
Gets the replica identifier
|
VVState |
getReplicaState()
Gets the replica state.
|
DeltaBasedCRDT |
mergeDelta(DeltaBasedCRDT crdt)
Applies a delta to the current state.
|
copy, deserializeDataType, getType, serializeVVState getReplicaState()
ReplicaID getReplicaID()
DeltaBasedCRDT generateDelta(VersionVector vv)
vv - a version version to calculate the delta fromDeltaBasedCRDT mergeDelta(DeltaBasedCRDT crdt) throws CRDTNotValidException
crdt - a crdt representing the deltaCRDTNotValidException - if the crdt passed as argument is invalidCopyright © 2024. All rights reserved.