Method GetStatisticsAsync
- Namespace
- Millrace.Storage.PostgreSql
- Assembly
- Millrace.Storage.PostgreSql.dll
GetStatisticsAsync(TenantFilter, CancellationToken)
Aggregate counts for the overview, scoped by tenant.
public ValueTask<JobStatistics> GetStatisticsAsync(TenantFilter tenant, CancellationToken ct)
Parameters
tenantTenantFilterctCancellationToken
Returns
Remarks
Counts are a consistent-enough snapshot, not a serializable one: providers MAY compute the components independently, so figures need not sum consistently across a concurrent transition. Callers must not derive invariants from them.