DefaultGraphReplicationAdapter class

Simple replication adapter that wires change notifications and can apply inbound diffs to the backing store using the merge port.

Implemented types

Constructors

DefaultGraphReplicationAdapter({required GraphStorePort store, required GraphMergePort merge})

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

applyInbound(TTGraphData diff) → Future<void>
Applies an inbound graph diff by merging and persisting via the store.
changesetFeed(String from) → ChangeSetEntryFunc
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onChange(SetChangeSetEntryFunc handler, {String? from}) → VoidCallback
override
pruneChangelog(num before) → Future<void>
override
toString() → String
A string representation of this object.
inherited

Operators

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