3#include <xrpl/basics/CountedObject.h>
4#include <xrpl/core/ClosureCounter.h>
5#include <xrpl/core/LoadMonitor.h>
107 [[nodiscard]] clock_type::time_point
const&
The role of a ClosureCounter is to assist in shutdown by letting callers wait for the completion of c...
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
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
ClosureCounter< void > JobCounter