1#include <xrpl/core/Job.h>
3#include <xrpl/beast/core/CurrentThreadName.h>
4#include <xrpl/core/LoadEvent.h>
5#include <xrpl/core/LoadMonitor.h>
39Job::clock_type::time_point
const&
std::function< void()> job_
clock_type::time_point queueTime_
std::shared_ptr< LoadEvent > loadEvent_
bool operator>=(Job const &j) const
bool operator<(Job const &j) const
std::chrono::steady_clock clock_type
Job()
Default constructor.
clock_type::time_point const & queueTime() const
Returns the time when the job was queued.
bool operator<=(Job const &j) const
bool operator>(Job const &j) const
void setCurrentThreadName(std::string_view newThreadName)
Changes the name of the caller thread.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.