| 
    rippled
    
   | 
 
Scheduling for asynchronous backend activity. More...
#include <Scheduler.h>

Public Member Functions | |
| virtual | ~Scheduler ()=default | 
| virtual void | scheduleTask (Task &task)=0 | 
| Schedules a task.   | |
| virtual void | onFetch (FetchReport const &report)=0 | 
| Reports completion of a fetch Allows the scheduler to monitor the node store's performance.   | |
| virtual void | onBatchWrite (BatchWriteReport const &report)=0 | 
| Reports the completion of a batch write Allows the scheduler to monitor the node store's performance.   | |
Scheduling for asynchronous backend activity.
For improved performance, a backend has the option of performing writes in batches. These writes can be scheduled using the provided scheduler object.
Definition at line 61 of file include/xrpl/nodestore/Scheduler.h.
      
  | 
  virtualdefault | 
      
  | 
  pure virtual | 
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.
Implemented in ripple::NodeStoreScheduler, and ripple::NodeStore::DummyScheduler.
      
  | 
  pure virtual | 
Reports completion of a fetch Allows the scheduler to monitor the node store's performance.
Implemented in ripple::NodeStore::DummyScheduler, and ripple::NodeStoreScheduler.
      
  | 
  pure virtual | 
Reports the completion of a batch write Allows the scheduler to monitor the node store's performance.
Implemented in ripple::NodeStore::DummyScheduler, and ripple::NodeStoreScheduler.