commitLog property

  1. @override
AtCommitLog? get commitLog
override

The commit log for this keystore, or null if this is an un-synced (client-side) keystore.

Server bundles MUST have a non-null commit log; the server's bootstrap asserts this once and binds to a non-nullable local for downstream consumers. Client bundles MAY return null here — every write returns null from KeyValueStore.put / KeyValueStore.create / KeyValueStore.remove in that case.

Implementation

@override
get commitLog => _commitLog;
  1. @override
set commitLog (AtCommitLog? log)
override

Server-side bootstrap may set this once during bundle construction; client-side bundles leave it null.

Implementation

@override
set commitLog(log) {
  _commitLog = log as HiveAtCommitLog?;
}