Table of Contents

Struct LongPollingStatistics

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

Statistics for long polling strategy performance.

[StructLayout(LayoutKind.Auto)]
public readonly record struct LongPollingStatistics : IEquatable<LongPollingStatistics>
Implements
Inherited Members
Extension Methods

Properties

ApiCallsSaved

Gets the total API calls saved through long polling.

public long ApiCallsSaved { get; init; }

Property Value

long

The current ApiCallsSaved value.

AverageMessagesPerReceive

Gets the average messages per receive.

public double AverageMessagesPerReceive { get; }

Property Value

double

The average messages per receive.

CurrentLoadFactor

Gets the current load factor.

public double CurrentLoadFactor { get; init; }

Property Value

double

The current CurrentLoadFactor value.

CurrentWaitTime

Gets the current recommended wait time.

public TimeSpan CurrentWaitTime { get; init; }

Property Value

TimeSpan

The current CurrentWaitTime value.

EmptyReceiveRate

Gets the empty receive rate.

public double EmptyReceiveRate { get; }

Property Value

double

The empty receive rate.

EmptyReceives

Gets the number of empty receives (no messages).

public long EmptyReceives { get; init; }

Property Value

long

The current EmptyReceives value.

LastReceiveTime

Gets the timestamp of the last receive operation.

public DateTimeOffset LastReceiveTime { get; init; }

Property Value

DateTimeOffset

The current LastReceiveTime value.

TotalMessages

Gets the total number of messages received.

public long TotalMessages { get; init; }

Property Value

long

The current TotalMessages value.

TotalReceives

Gets the total number of receive operations.

public long TotalReceives { get; init; }

Property Value

long

The current TotalReceives value.