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


Public Member Functions | |
| NodeStoreScheduler (JobQueue &jobQueue) | |
| void | scheduleTask (NodeStore::Task &task) override | 
| Schedules a task.   | |
| void | onFetch (NodeStore::FetchReport const &report) override | 
| Reports completion of a fetch Allows the scheduler to monitor the node store's performance.   | |
| void | onBatchWrite (NodeStore::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 NodeStore::Scheduler which uses the JobQueue.
Definition at line 30 of file NodeStoreScheduler.h.
      
  | 
  explicit | 
Definition at line 24 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 29 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 45 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 58 of file NodeStoreScheduler.cpp.
      
  | 
  private | 
Definition at line 43 of file NodeStoreScheduler.h.