1#ifndef XRPL_NODESTORE_DUMMYSCHEDULER_H_INCLUDED
2#define XRPL_NODESTORE_DUMMYSCHEDULER_H_INCLUDED
4#include <xrpl/nodestore/Scheduler.h>
Simple NodeStore Scheduler that just peforms the tasks synchronously.
void scheduleTask(Task &task) override
Schedules a task.
void onFetch(FetchReport const &report) override
Reports completion of a fetch Allows the scheduler to monitor the node store's performance.
~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.
Scheduling for asynchronous backend activity.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Contains information about a batch write operation.
Contains information about a fetch operation.
Derived classes perform scheduled tasks.