Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
MemoryCacheStatistics Class
Definition
- Namespace:
- Microsoft.Extensions.Caching.Memory
- Assembly:
- Microsoft.Extensions.Caching.Abstractions.dll
- Package:
- Microsoft.Extensions.Caching.Abstractions v11.0.0-preview.5.26302.115
- Source:
- MemoryCacheStatistics.cs
- Source:
- MemoryCacheStatistics.cs
- Source:
- MemoryCacheStatistics.cs
- Source:
- MemoryCacheStatistics.cs
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
| Name | Description |
|---|---|
| MemoryCacheStatistics() |
Initializes an instance of MemoryCacheStatistics. |
Properties
| Name | Description |
|---|---|
| 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. |
| TotalEvictions |
Gets the total number of cache evictions. |
| TotalHits |
Gets the total number of cache hits. |
| TotalMisses |
Gets the total number of cache misses. |
Methods
| Name | Description |
|---|---|
| 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
Feedback
Was this page helpful?
