public interface StateCRDT extends GenericCRDT
| Modifier and Type | Method and Description |
|---|---|
ReplicaID |
getReplicaID()
Gets the replica identifier
|
VVState |
getReplicaState()
Gets the replica state.
|
StateBasedCRDT |
merge(StateBasedCRDT crdt)
Handles the merging of this CRDT with other state-based CRDT received from the network.
|
copy, deserializeDataType, getType, serializeVVState getReplicaState()
ReplicaID getReplicaID()
StateBasedCRDT merge(StateBasedCRDT crdt) throws CRDTNotValidException
crdt - the CRDT to mergeCRDTNotValidException - if the CRDT is invalid.Copyright © 2024. All rights reserved.