Share via


MemoryCacheStatistics Class

Definition

Holds a snapshot of statistics for a memory cache.

public ref class MemoryCacheStatistics
public class MemoryCacheStatistics
type MemoryCacheStatistics = class
Public Class MemoryCacheStatistics
Inheritance
MemoryCacheStatistics

Constructors

MemoryCacheStatistics()

Initializes an instance of MemoryCacheStatistics.

Properties

CurrentEntryCount

Gets the number of ICacheEntry instances currently in the memory cache.

CurrentEstimatedSize

Gets an estimated sum of all the Size values currently in the memory cache.

TotalHits

Gets the total number of cache hits.

TotalMisses

Gets the total number of cache misses.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to