GET api/admin/v{version}/server/cache/statistics

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

None.

Response Information

Resource Description

Dictionary of string [key] and MemoryCacheStatistics [value]

Response Formats

application/json, text/json

Sample:
{
  "sample string 1": {
    "CurrentEntryCount": 1,
    "CurrentEstimatedSize": 1,
    "TotalMisses": 2,
    "TotalHits": 3
  },
  "sample string 2": {
    "CurrentEntryCount": 1,
    "CurrentEstimatedSize": 1,
    "TotalMisses": 2,
    "TotalHits": 3
  }
}

text/html

Sample:
{"sample string 1":{"CurrentEntryCount":1,"CurrentEstimatedSize":1,"TotalMisses":2,"TotalHits":3},"sample string 2":{"CurrentEntryCount":1,"CurrentEstimatedSize":1,"TotalMisses":2,"TotalHits":3}}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringMemoryCacheStatisticsp_SqchiFv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringMemoryCacheStatisticsp_SqchiFv>
    <Key>sample string 1</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/Microsoft.Extensions.Caching.Memory">
      <d3p1:CurrentEntryCount>1</d3p1:CurrentEntryCount>
      <d3p1:CurrentEstimatedSize>1</d3p1:CurrentEstimatedSize>
      <d3p1:TotalHits>3</d3p1:TotalHits>
      <d3p1:TotalMisses>2</d3p1:TotalMisses>
    </Value>
  </KeyValueOfstringMemoryCacheStatisticsp_SqchiFv>
  <KeyValueOfstringMemoryCacheStatisticsp_SqchiFv>
    <Key>sample string 2</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/Microsoft.Extensions.Caching.Memory">
      <d3p1:CurrentEntryCount>1</d3p1:CurrentEntryCount>
      <d3p1:CurrentEstimatedSize>1</d3p1:CurrentEstimatedSize>
      <d3p1:TotalHits>3</d3p1:TotalHits>
      <d3p1:TotalMisses>2</d3p1:TotalMisses>
    </Value>
  </KeyValueOfstringMemoryCacheStatisticsp_SqchiFv>
</ArrayOfKeyValueOfstringMemoryCacheStatisticsp_SqchiFv>