Table of Contents

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

tenant TenantFilter
ct CancellationToken

Returns

ValueTask<JobStatistics>

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.