20 #ifndef RIPPLE_APP_MAIN_NODESTORESCHEDULER_H_INCLUDED
21 #define RIPPLE_APP_MAIN_NODESTORESCHEDULER_H_INCLUDED
23 #include <ripple/core/JobQueue.h>
24 #include <ripple/nodestore/Scheduler.h>
A NodeStore::Scheduler which uses the 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.
Contains information about a fetch operation.
Derived classes perform scheduled tasks.
NodeStoreScheduler(JobQueue &jobQueue)
Scheduling for asynchronous backend activity.
Contains information about a batch write operation.
A pool of threads to perform work.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.