MemberMetadata
class MemberMetadata
Per-member display names tracked with last-writer-wins semantics, backed by LWWMap.
Each member can set their own display name. Concurrent writes from different replicas resolve by (timestamp, replicaId) — the higher-timestamp write wins; when timestamps tie, the higher ReplicaId value (lexicographic) wins, giving a deterministic but arbitrary outcome.
Immutable value type
Every mutating operation returns a new MemberMetadata — the receiver is not modified. Wire the return value back into your state holder.
Clock-skew warning
This type inherits LWWMap's clock-skew caveat: wall-clock timestamps work only when clocks are well-synchronized across all replicas. Prefer a Hybrid Logical Clock above this layer when clock drift is a concern.