Table of Contents

Class DeduplicationStatistics

Namespace
Excalibur.Dispatch
Assembly
Excalibur.Dispatch.Abstractions.dll

Provides statistics about the in-memory volatile deduplicator performance and usage.

public sealed class DeduplicationStatistics
Inheritance
DeduplicationStatistics
Inherited Members
Extension Methods

Remarks

This type tracks volatile (in-process) deduplication metrics. For persistent deduplication entry statistics, see Excalibur.Outbox.Inbox.DeduplicatorStatistics.

Properties

CapturedAt

Gets the timestamp when these statistics were captured.

public DateTimeOffset CapturedAt { get; init; }

Property Value

DateTimeOffset

The timestamp when statistics were captured.

DuplicateHitRatio

Gets the duplicate detection hit ratio as a percentage.

public double DuplicateHitRatio { get; }

Property Value

double

Percentage of checks that identified duplicates, 0-100.

DuplicatesDetected

Gets the number of messages identified as duplicates.

public long DuplicatesDetected { get; init; }

Property Value

long

The number of detected duplicate messages.

EstimatedMemoryUsageBytes

Gets the estimated memory usage in bytes.

public long EstimatedMemoryUsageBytes { get; init; }

Property Value

long

The estimated memory usage in bytes.

Remarks

This is an approximation based on tracked message IDs and overhead. Actual memory usage may vary based on .NET runtime optimizations.

TotalChecks

Gets the total number of duplicate detection checks performed.

public long TotalChecks { get; init; }

Property Value

long

The number of duplicate detection checks performed.

TrackedMessageCount

Gets the current number of message IDs being tracked in memory.

public int TrackedMessageCount { get; init; }

Property Value

int

The number of message identifiers currently tracked.

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.