Class CacheStats
- Namespace
- IntentSharp.Resilience
- Assembly
- IntentSharp.dll
Counts for a request cache.
public sealed record CacheStats : IEquatable<CacheStats>
- Inheritance
-
objectCacheStats
- Implements
-
IEquatable<CacheStats>
- Inherited Members
-
object.Equals(object)object.Equals(object, object)object.GetHashCode()object.GetType()object.ReferenceEquals(object, object)object.ToString()
- Extension Methods
Constructors
- CacheStats(long, long, int, int)
Counts for a request cache.
Properties
- Capacity
The most entries the cache holds.
- Entries
Entries stored now.
- HitRate
Hits divided by all lookups, from 0 to 1; 0 before the first lookup.
- Hits
Lookups that returned a stored response.
- Misses
Lookups that found nothing or an expired entry.