mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
This change replaces all include guards in the `src/` and `include/` directories by `#pragma once`.
24 lines
511 B
C++
24 lines
511 B
C++
#pragma once
|
|
|
|
#include <xrpl/nodestore/Scheduler.h>
|
|
|
|
namespace xrpl {
|
|
namespace NodeStore {
|
|
|
|
/** Simple NodeStore Scheduler that just performs the tasks synchronously. */
|
|
class DummyScheduler : public Scheduler
|
|
{
|
|
public:
|
|
DummyScheduler() = default;
|
|
~DummyScheduler() = default;
|
|
void
|
|
scheduleTask(Task& task) override;
|
|
void
|
|
onFetch(FetchReport const& report) override;
|
|
void
|
|
onBatchWrite(BatchWriteReport const& report) override;
|
|
};
|
|
|
|
} // namespace NodeStore
|
|
} // namespace xrpl
|