1#ifndef XRPL_CORE_JOB_H_INCLUDED
2#define XRPL_CORE_JOB_H_INCLUDED
4#include <xrpld/core/ClosureCounter.h>
5#include <xrpld/core/LoadMonitor.h>
7#include <xrpl/basics/CountedObject.h>
107 clock_type::time_point
const&
Tracks the number of instances of an object.
std::shared_ptr< LoadEvent > m_loadEvent
std::function< void()> mJob
bool operator>=(Job const &j) const
bool operator>(Job const &j) const
bool operator<=(Job const &j) const
Job()
Default constructor.
clock_type::time_point const & queue_time() const
Returns the time when the job was queued.
bool operator<(Job const &j) const
clock_type::time_point m_queue_time
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.