Clio  develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
rpc::BaseServerInfoHandler< CountersType, ClockType >::CacheSection Struct Reference

A struct to hold the cache section of the output. More...

#include <ServerInfo.hpp>

Public Attributes

std::size_t size = 0
 Number of objects in the cache.
bool isEnabled = false
 Whether the cache is enabled.
bool isFull = false
 Whether the cache is fully loaded.
xrpl::LedgerIndex latestLedgerSeq = {}
 Latest ledger sequence in the cache.
float objectHitRate = 1.0
 Cache hit rate of object lookups.
float successorHitRate = 1.0
 Cache hit rate of successor lookups.

Detailed Description

template<typename CountersType, util::SomeSystemClock ClockType = std::chrono::system_clock>
struct rpc::BaseServerInfoHandler< CountersType, ClockType >::CacheSection

A struct to hold the cache section of the output.


The documentation for this struct was generated from the following file: