Table of Contents

Class RouteStatistics

Namespace
Excalibur.Dispatch.Routing
Assembly
Excalibur.Dispatch.dll

Statistics for message routing operations.

public sealed class RouteStatistics
Inheritance
RouteStatistics
Inherited Members
Extension Methods

Remarks

Initializes a new instance of the RouteStatistics class.

Constructors

RouteStatistics(int, long, double, double)

Statistics for message routing operations.

public RouteStatistics(int activeRoutes, long totalDecisions, double cacheHitRate, double averageLatencyUs)

Parameters

activeRoutes int

The number of active routes.

totalDecisions long

The total number of routing decisions made.

cacheHitRate double

The cache hit rate as a percentage.

averageLatencyUs double

The average routing latency in microseconds.

Remarks

Initializes a new instance of the RouteStatistics class.

Properties

ActiveRoutes

Gets the number of active routes.

public int ActiveRoutes { get; }

Property Value

int

The current ActiveRoutes value.

AverageLatencyUs

Gets the average routing latency in microseconds.

public double AverageLatencyUs { get; }

Property Value

double

The current AverageLatencyUs value.

CacheHitRate

Gets the cache hit rate as a percentage.

public double CacheHitRate { get; }

Property Value

double

The current CacheHitRate value.

TotalDecisions

Gets the total number of routing decisions made.

public long TotalDecisions { get; }

Property Value

long

The current TotalDecisions value.