nodeId property

  1. @override
String get nodeId
override

The identifier of this replica, as stamped into the node component of the HLCs this table generates.

A persistent engine must keep it stable across restarts — the typed merge layer keys each node's counter contributions by it. The in-memory MapCrdtTable generates a fresh one per instance, which is fine for its tests-only lifetime. For a persistent engine, must be readable once init has run.

Implementation

@override
String get nodeId => _crdt.nodeId;