mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-02 16:26:48 +00:00
28 lines
457 B
C++
28 lines
457 B
C++
#include <xrpl/nodestore/DummyScheduler.h>
|
|
|
|
#include <xrpl/nodestore/Scheduler.h>
|
|
#include <xrpl/nodestore/Task.h>
|
|
|
|
namespace xrpl {
|
|
namespace NodeStore {
|
|
|
|
void
|
|
DummyScheduler::scheduleTask(Task& task)
|
|
{
|
|
// Invoke the task synchronously.
|
|
task.performScheduledTask();
|
|
}
|
|
|
|
void
|
|
DummyScheduler::onFetch(FetchReport const& report)
|
|
{
|
|
}
|
|
|
|
void
|
|
DummyScheduler::onBatchWrite(BatchWriteReport const& report)
|
|
{
|
|
}
|
|
|
|
} // namespace NodeStore
|
|
} // namespace xrpl
|