1#ifndef XRPL_APP_MAIN_NODESTORESCHEDULER_H_INCLUDED
2#define XRPL_APP_MAIN_NODESTORESCHEDULER_H_INCLUDED
4#include <xrpld/core/JobQueue.h>
6#include <xrpl/nodestore/Scheduler.h>
A pool of threads to perform work.
A NodeStore::Scheduler which uses the JobQueue.
void onFetch(NodeStore::FetchReport const &report) override
Reports completion of a fetch Allows the scheduler to monitor the node store's performance.
void scheduleTask(NodeStore::Task &task) override
Schedules a task.
void onBatchWrite(NodeStore::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.