20 #ifndef RIPPLE_CORE_JOBTYPEDATA_H_INCLUDED
21 #define RIPPLE_CORE_JOBTYPEDATA_H_INCLUDED
23 #include <ripple/basics/Log.h>
24 #include <ripple/beast/insight/Collector.h>
25 #include <ripple/core/JobTypeInfo.h>
58 :
m_load(logs.journal(
"LoadMonitor"))
Manages partitions for logging.
beast::insight::Event execute
JobTypeData(JobTypeInfo const &info_, beast::insight::Collector::ptr const &collector, Logs &logs) noexcept
beast::insight::Event dequeue
std::chrono::milliseconds getAverageLatency() const
Holds all the 'static' information about a job, which does not change.
A metric for reporting event timing.
beast::insight::Collector::ptr m_collector
std::string const & name() const
void setTargetLatency(std::chrono::milliseconds avg, std::chrono::milliseconds pk)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
JobTypeData & operator=(JobTypeData const &other)=delete
LoadMonitor::Stats stats()
std::chrono::milliseconds getPeakLatency() const