Skip to content

CacheStats Class ​

Definition ​

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

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

Constructors ​

NameDescription
CacheStats(long Attempts, long Hits, long Evictions, long CapacityEvictions, long Count)Represents diagnostic statistics for a cache instance, including usage and eviction metrics.

Properties ​

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.