Skip to content

API Cache

DeclanBuckley edited this page Jan 25, 2021 · 6 revisions

Home / API / Cache

Read.

Reads cache information from the default server.

Authentication: Windows

Privilege : Administrator

Method: PxStat.Security.Cache_API.Read

Parameters:

Return: Array [ Object ] Example shown below

{
    "jsonrpc": "2.0",
    "result": {
        "Uptime": "2215195",
        "ServerTime": "1598445210",
        "Version": "1.5.20_14_ge862420",
        "ItemCount": "96",
        "TotalItems": "11674",
        "ConnectionCount": "51",
        "TotalConnections": "11157",
        "ConnectionStructures": "112",
        "GetCount": "56516",
        "SetCount": "11687",
        "GetHits": "53397",
        "GetMisses": "3119",
        "UsedBytes": "830559",
        "BytesRead": "25328246",
        "BytesWritten": "243822555",
        "MaxBytes": "21474836480"
    },
    "id": null
}

FlushAll.

Removes all cache information.

Authentication: Windows

Privilege : Administrator

Method: PxStat.Security.Cache_API.FlushAll

Parameters:

Return: String with value of success

Clone this wiki locally