Table of Contents

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

int

Evictions

Total number of evictions due to cache size limits.

public int Evictions { get; set; }

Property Value

int

HitRatio

Cache hit ratio (0.0 to 1.0).

public float HitRatio { get; }

Property Value

float

Hits

Total number of cache hits.

public int Hits { get; set; }

Property Value

int

Misses

Total number of cache misses.

public int Misses { get; set; }

Property Value

int

Methods

Reset()

Resets all metrics to zero.

public void Reset()