Skip to content

CacheStats Constructors ​

Definition ​

  • Namespace: JASE
  • Assembly: JASE.Caching.dll

CacheStats(long Attempts, long Hits, long Evictions, long CapacityEvictions, long Count) ​

csharp
CacheStats(long Attempts, long Hits, long Evictions, long CapacityEvictions, long Count)

Represents diagnostic statistics for a cache instance, including usage and eviction metrics.

Parameters ​

NameDescription
AttemptsThe number of total cache lookup attempts.
CapacityEvictionsThe number of entries evicted due to memory pressure or size limits.
CountThe current number of entries in the cache.
EvictionsThe number of entries evicted due to expiration.
HitsThe number of successful cache hits.