$frames
$frames : int
What the store holds, and what deleting one thing would cost.
The three reachability classes are reported separately rather than as one total, because they answer different questions. Frames held by a commit go when that commit goes; frames held by a dictionary or by a delta chain are held by something a reader did not ask about and would be surprised to lose.
complete is the field that decides whether the rest can be trusted. A reachability walk over a
store whose commit chain is broken cannot enumerate everything that is reachable, so anything it
calls collectable might in fact be needed. A prune refuses in that state, and so does this report:
the collectable figure is reported as unknown rather than as zero.
__construct(int $frames = 0, int $rawBytes = 0, int $storedBytes = 0, int $commits = 0, int $dictionaries = 0, array$reachable = [], list $collectable = [], int $collectableBytes = 0, bool $complete = true, array $byRealm = [], float $seconds = 0.0) : mixed
Constructs a report.
| int | $frames | Frames the index holds. |
| int | $rawBytes | Decoded bytes those frames represent. |
| int | $storedBytes | Bytes actually written. |
| int | $commits | Commits the index holds. |
| int | $dictionaries | Dictionaries the store holds. |
| array |
$reachable | How many frames each reachability class holds. |
| list |
$collectable | Frame addresses nothing reachable references. |
| int | $collectableBytes | Bytes those frames occupy. |
| bool | $complete | Whether the reachability walk finished. |
| array |
$byRealm | Stored bytes per realm, as far as the commit index can attribute them. |
| float | $seconds | How long the walk took. |