Class RouteStatistics
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
activeRoutesintThe number of active routes.
totalDecisionslongThe total number of routing decisions made.
cacheHitRatedoubleThe cache hit rate as a percentage.
averageLatencyUsdoubleThe 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.