|
xrpld
|
#include <Job.h>


Public Types | |
| using | clock_type = std::chrono::steady_clock |
Public Member Functions | |
| Job () | |
| Default constructor. | |
| Job (JobType type, std::uint64_t index) | |
| Job (JobType type, std::string const &name, std::uint64_t index, LoadMonitor &lm, std::function< void()> const &job) | |
| JobType | getType () const |
| clock_type::time_point const & | queueTime () const |
| Returns the time when the job was queued. | |
| void | doJob () |
| bool | operator< (Job const &j) const |
| bool | operator> (Job const &j) const |
| bool | operator<= (Job const &j) const |
| bool | operator>= (Job const &j) const |
Public Attributes | |
| friend | Object |
Static Private Member Functions | |
| static auto & | getCounter () noexcept |
Private Attributes | |
| JobType | type_ |
| std::uint64_t | jobIndex_ |
| std::function< void()> | job_ |
| std::shared_ptr< LoadEvent > | loadEvent_ |
| std::string | name_ |
| clock_type::time_point | queueTime_ |
| xrpl::Job::Job | ( | ) |
| xrpl::Job::Job | ( | JobType | type, |
| std::uint64_t | index ) |
| xrpl::Job::Job | ( | JobType | type, |
| std::string const & | name, | ||
| std::uint64_t | index, | ||
| LoadMonitor & | lm, | ||
| std::function< void()> const & | job ) |
|
nodiscard |
|
staticprivatenoexceptinherited |
Definition at line 109 of file CountedObject.h.
|
private |
|
private |
|
private |
|
private |
|
inherited |
Definition at line 134 of file CountedObject.h.