|
rippled
|
A NodeStore::Scheduler which uses the JobQueue. More...


Public Member Functions | |
| NodeStoreScheduler (JobQueue &jobQueue) | |
| void | scheduleTask (NodeStore::Task &task) override |
| Schedules a task. More... | |
| void | onFetch (NodeStore::FetchReport const &report) override |
| Reports completion of a fetch Allows the scheduler to monitor the node store's performance. More... | |
| void | onBatchWrite (NodeStore::BatchWriteReport const &report) override |
| Reports the completion of a batch write Allows the scheduler to monitor the node store's performance. More... | |
Private Attributes | |
| JobQueue & | jobQueue_ |
A NodeStore::Scheduler which uses the JobQueue.
Definition at line 30 of file NodeStoreScheduler.h.
|
explicit |
Definition at line 25 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 ripple::NodeStore::Scheduler.
Definition at line 30 of file NodeStoreScheduler.cpp.
|
overridevirtual |
Reports completion of a fetch Allows the scheduler to monitor the node store's performance.
Implements ripple::NodeStore::Scheduler.
Definition at line 46 of file NodeStoreScheduler.cpp.
|
overridevirtual |
Reports the completion of a batch write Allows the scheduler to monitor the node store's performance.
Implements ripple::NodeStore::Scheduler.
Definition at line 59 of file NodeStoreScheduler.cpp.
|
private |
Definition at line 43 of file NodeStoreScheduler.h.
1.8.17