1#ifndef XRPL_CORE_JOBTYPEINFO_H_INCLUDED
2#define XRPL_CORE_JOBTYPEINFO_H_INCLUDED
4#include <xrpld/core/Job.h>
Holds all the 'static' information about a job, which does not change.
std::chrono::milliseconds const m_avgLatency
Average and peak latencies for this job type.
std::chrono::milliseconds getPeakLatency() const
int const m_limit
The limit on the number of running jobs for this job type.
std::chrono::milliseconds getAverageLatency() const
std::chrono::milliseconds const m_peakLatency
std::string const & name() const
JobTypeInfo(JobType type, std::string name, int limit, std::chrono::milliseconds avgLatency, std::chrono::milliseconds peakLatency)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.