Class Page<T>
- Namespace
- Millrace.Storage.Monitoring
- Assembly
- Millrace.dll
One keyset page of a monitoring query (ARCHITECTURE.md ยง11.12).
public sealed record Page<T> : IEquatable<Page<T>>
Type Parameters
TThe summary projection being paged.
- Inheritance
-
Page<T>
- Implements
-
IEquatable<Page<T>>
- Inherited Members
Remarks
There is no total count, deliberately. Counting a filtered job list is the expensive part of the query, and on a table whose rows change state continuously the number is stale before it renders. Aggregates come from GetStatisticsAsync(TenantFilter, CancellationToken) instead. The consequence is binding on every client: no page numbers, no "showing 1โ50 of 4,102" โ next/previous only.
The cursor is opaque. Its encoding is provider-defined and callers must round-trip it unmodified. Clients must never parse, construct, or persist meaning into one.
Properties
- Items
The rows in this page, in the query's defined order. Never null; empty when nothing matched. May contain fewer than the requested limit even when further pages exist.
- NextCursor
Continuation token for the next page, or null when this is the last page.