3#include <xrpl/basics/Log.h>
4#include <xrpl/beast/insight/Collector.h>
5#include <xrpl/core/JobTypeInfo.h>
43 load_.setTargetLatency(
info.getAverageLatency(),
info.getPeakLatency());
78 return load_.getStats();
std::shared_ptr< Collector > ptr
A metric for reporting event timing.
Holds all the 'static' information about a job, which does not change.
Manages partitions for logging.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
JobTypeData(JobTypeData const &other)=delete
beast::insight::Collector::ptr collector_
beast::insight::Event dequeue
beast::insight::Event execute
LoadMonitor::Stats stats()
JobTypeData & operator=(JobTypeData const &other)=delete
JobTypeData(JobTypeInfo const &info, beast::insight::Collector::ptr collector, Logs &logs) noexcept