3#include <xrpl/beast/utility/Journal.h>
4#include <xrpl/nodestore/Backend.h>
5#include <xrpl/nodestore/Database.h>
6#include <xrpl/nodestore/Scheduler.h>
27 :
Database(scheduler, readThreads, config, journal)
A generic endpoint for log messages.
Holds a collection of configuration values.
virtual void setRotationInFlight(bool inFlight)=0
Marks an online-delete rotation as in progress (or completed).
virtual void rotate(std::unique_ptr< node_store::Backend > &&newBackend, std::function< void(std::string const &writableName, std::string const &archiveName)> const &f)=0
Rotates the backends.
DatabaseRotating(Scheduler &scheduler, int readThreads, Section const &config, beast::Journal journal)
Scheduling for asynchronous backend activity.