Class CacheStatistics

Assembly: redb.Route.dll

Cache statistics with performance metrics for each expression cache.

public record CacheStatistics : IEquatable<CacheStatistics>

Inheritance

Object→CacheStatistics

Implements

Properties

PropertyResolverCount

Number of entries in the property resolver cache.

public int PropertyResolverCount { get; init; }

PropertyResolverHitRate

Property resolver cache hit rate as a percentage.

public double PropertyResolverHitRate { get; }

PropertyResolverHits

Number of property resolver cache hits.

public long PropertyResolverHits { get; init; }

PropertyResolverMisses

Number of property resolver cache misses.

public long PropertyResolverMisses { get; init; }

TemplateCount

Number of entries in the template cache.

public int TemplateCount { get; init; }

TemplateHitRate

Template cache hit rate as a percentage.

public double TemplateHitRate { get; }

TemplateHits

Number of template cache hits.

public long TemplateHits { get; init; }

TemplateMisses

Number of template cache misses.

public long TemplateMisses { get; init; }

TotalCount

Total number of entries across all caches.

public int TotalCount { get; }

TotalHitRate

Overall cache hit rate as a percentage.

public double TotalHitRate { get; }

TotalHits

Total number of cache hits across all caches.

public long TotalHits { get; }

TotalMisses

Total number of cache misses across all caches.

public long TotalMisses { get; }

ValueExpressionCount

Number of entries in the value expression cache.

public int ValueExpressionCount { get; init; }

ValueExpressionHitRate

Value expression cache hit rate as a percentage.

public double ValueExpressionHitRate { get; }

ValueExpressionHits

Number of value expression cache hits.

public long ValueExpressionHits { get; init; }

ValueExpressionMisses

Number of value expression cache misses.

public long ValueExpressionMisses { get; init; }