HiveAtPersistenceBundle class

Hive-backed AtPersistenceBundle.

Implemented types

Properties

accessLog HiveAtAccessLog?
Nullable per the slim-bundle design: only populated when the config opts in via HivePersistenceConfig.enableAccessLog.
final
atSign String
The atSign this bundle owns.
final
backendId AtPersistenceBackendId
Identifies which backend produced this bundle.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
isClosed bool
true after close has been called (whether directly on the bundle or via the owning factory). Once closed, methods on the bundle are undefined; the producing factory's bundleFor returns null and AtPersistenceFactory.initialize rebuilds.
no setteroverride
keyValueStore HiveAtKeyValueStore
The keystore for client data (target of update / lookup). Its commit log is accessible as keyValueStore.commitLog — non-null on server bundles, null on client bundles.
final
notificationKeystore HiveAtNotificationKeystore?
Nullable per the slim-bundle design: only populated when the config opts in via HivePersistenceConfig.enableNotificationKeystore.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() Future<void>
Drop all data from this bundle's stores while keeping the underlying connections (Hive boxes etc.) open. Idempotent. Intended for cheap per-test isolation.
override
close() Future<void>
Close all underlying resources. Idempotent.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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