public interface OperationCRDT extends GenericCRDT
| Modifier and Type | Method and Description |
|---|---|
void |
applyRemoteOperation(Operation op)
Applies a remote operation into the local state of the CRDT
|
String |
getCrtdID() |
void |
installRemoteState(OperationBasedCRDT crdt)
Installs the remote state into the local the CRDT.
|
copy, deserializeDataType, getType, serializeString getCrtdID()
void applyRemoteOperation(Operation op) throws OperationNotValidException
op - operation to be appliedOperationNotValidException - if the operation is not valid.void installRemoteState(OperationBasedCRDT crdt) throws CRDTNotValidException
crdt - the CRDT to be installedCRDTNotValidException - if the CRDT is not valid.Copyright © 2024. All rights reserved.