Table of Contents

Struct EventIndexStats

Namespace
DotBoxD.Plugins.Indexing
Assembly
DotBoxD.Plugins.dll

Prefilter diagnostics for an EventIndexRegistry: how many indexed checks ran (Considered), how many events the index rejected before any sandbox entry (Prefiltered), and how many survived to the verified IR (Dispatched). Considered == Prefiltered + Dispatched holds once publishing is quiescent; a snapshot taken while Publish<TEvent>(TEvent, CancellationToken) is running concurrently may observe an in-flight increment between the three reads.

public readonly record struct EventIndexStats : IEquatable<EventIndexStats>
Implements
Inherited Members

Constructors

EventIndexStats(long, long, long)

Prefilter diagnostics for an EventIndexRegistry: how many indexed checks ran (Considered), how many events the index rejected before any sandbox entry (Prefiltered), and how many survived to the verified IR (Dispatched). Considered == Prefiltered + Dispatched holds once publishing is quiescent; a snapshot taken while Publish<TEvent>(TEvent, CancellationToken) is running concurrently may observe an in-flight increment between the three reads.

public EventIndexStats(long Considered, long Prefiltered, long Dispatched)

Parameters

Considered long
Prefiltered long
Dispatched long

Properties

Considered

public long Considered { get; init; }

Property Value

long

Dispatched

public long Dispatched { get; init; }

Property Value

long

Prefiltered

public long Prefiltered { get; init; }

Property Value

long