20 #ifndef RIPPLE_NODESTORE_DUMMYSCHEDULER_H_INCLUDED
21 #define RIPPLE_NODESTORE_DUMMYSCHEDULER_H_INCLUDED
23 #include <ripple/nodestore/Scheduler.h>
Simple NodeStore Scheduler that just peforms the tasks synchronously.
void scheduleTask(Task &task) override
Schedules a task.
~DummyScheduler()=default
void onBatchWrite(BatchWriteReport const &report) override
Reports the completion of a batch write Allows the scheduler to monitor the node store's performance.
Contains information about a fetch operation.
Derived classes perform scheduled tasks.
Scheduling for asynchronous backend activity.
Contains information about a batch write operation.
void onFetch(FetchReport const &report) override
Reports completion of a fetch Allows the scheduler to monitor the node store's performance.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.