CRDTServerRegistry class abstract

Class managing the CRDT document registry on the server.

Constructors

CRDTServerRegistry.new()

Properties

documentCount int
Get the number of documents registered
no setter
documentIds Set<String>
Get all document IDs
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addDocument(String documentId, CRDTDocument document) → void
Register a document
applyChange(String documentId, Change change) bool
Apply a change to a document
createSnapshot(String documentId) → Snapshot
Create a snapshot of a document
getDocument(String documentId) → CRDTDocument?
Get a store for an existing document
getLatestSnapshot(String documentId) → Snapshot?
Get the latest snapshot of a document
hasDocument(String documentId) bool
Check if a document exists
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeDocument(String documentId) → void
Remove a document
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited