Class CacheMetrics
- Namespace
- MoonBark.GridPlacement.Core.Interfaces
- Assembly
- MoonBark.GridPlacement.Core.dll
Cache performance metrics.
public class CacheMetrics
- Inheritance
-
CacheMetrics
- Inherited Members
Properties
Cleanups
Total number of cache cleanups.
public int Cleanups { get; set; }
Property Value
Evictions
Total number of evictions due to cache size limits.
public int Evictions { get; set; }
Property Value
HitRatio
Cache hit ratio (0.0 to 1.0).
public float HitRatio { get; }
Property Value
Hits
Total number of cache hits.
public int Hits { get; set; }
Property Value
Misses
Total number of cache misses.
public int Misses { get; set; }
Property Value
Methods
Reset()
Resets all metrics to zero.
public void Reset()