WalPackStats class final
Live storage and sequence statistics for an open WalPack container.
- Annotations
-
- @immutable
Constructors
- WalPackStats({required int generation, required int baseSeq, required int lastSeq, required int totalBytes, required int snapshotBytes, required int walBytes, required int chunkCount, required int walChunkCount, required int walFrameCount, required int recoveredTornBytes})
-
Creates a WalPackStats snapshot.
const
Properties
- baseSeq → int
-
Sequence number of the last compaction snapshot.
final
- chunkCount → int
-
Total number of live chunks accessible across snapshot + WAL.
final
- generation → int
-
Current compaction generation (
>= 1).final - hashCode → int
-
The hash code for this object.
no setterinherited
- lastSeq → int
-
Latest committed sequence number.
final
- recoveredTornBytes → int
-
Total incomplete/torn WAL tail bytes discarded during open or sync.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- snapshotBytes → int
-
Size of the immutable snapshot + Base TOC prefix in bytes.
final
- totalBytes → int
-
Total size of the container in bytes.
final
- walBytes → int
-
Size of the Append-Only WAL tail in bytes.
final
- walChunkCount → int
-
Number of live chunks whose latest version currently sits in the WAL tail.
final
- walFrameCount → int
-
Number of
CommitFramerecords currently in the WAL tail.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited