|
xrpld
|
A node_store::Scheduler which uses the JobQueue. More...
#include <NodeStoreScheduler.h>


Public Member Functions | |
| NodeStoreScheduler (JobQueue &jobQueue) | |
| void | scheduleTask (node_store::Task &task) override |
| Schedules a task. | |
| void | onFetch (node_store::FetchReport const &report) override |
| Reports completion of a fetch Allows the scheduler to monitor the node store's performance. | |
| void | onBatchWrite (node_store::BatchWriteReport const &report) override |
| Reports the completion of a batch write Allows the scheduler to monitor the node store's performance. | |
Private Attributes | |
| JobQueue & | jobQueue_ |
A node_store::Scheduler which uses the JobQueue.
Definition at line 12 of file NodeStoreScheduler.h.
|
explicit |
Definition at line 10 of file NodeStoreScheduler.cpp.
|
overridevirtual |
Schedules a task.
Depending on the implementation, the task may be invoked either on the current thread of execution, or an unspecified implementation-defined foreign thread.
Implements xrpl::node_store::Scheduler.
Definition at line 15 of file NodeStoreScheduler.cpp.
|
overridevirtual |
Reports completion of a fetch Allows the scheduler to monitor the node store's performance.
Implements xrpl::node_store::Scheduler.
Definition at line 29 of file NodeStoreScheduler.cpp.
|
overridevirtual |
Reports the completion of a batch write Allows the scheduler to monitor the node store's performance.
Implements xrpl::node_store::Scheduler.
Definition at line 41 of file NodeStoreScheduler.cpp.
|
private |
Definition at line 25 of file NodeStoreScheduler.h.