Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Microsoft.​Extensions.​Caching.​Memory.​MemoryCacheStatistics

Assembly: Microsoft.Extensions.Caching.Abstractions

Inheritance: object → MemoryCacheStatistics

Holds a snapshot of statistics for a memory cache.

Properties

public long
CurrentEntryCount
Gets the number of <see cref="T:Microsoft.Extensions.Caching.Memory.ICacheEntry" /> instances currently in the memory cache.
public long?
CurrentEstimatedSize
Gets an estimated sum of all the <see cref="P:Microsoft.Extensions.Caching.Memory.ICacheEntry.Size" /> values currently in the memory cache.
public long
TotalHits
Gets the total number of cache hits.
public long
TotalMisses
Gets the total number of cache misses.

Methods

public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object