1#ifndef XRPL_NODESTORE_DATABASEROTATING_H_INCLUDED
2#define XRPL_NODESTORE_DATABASEROTATING_H_INCLUDED
4#include <xrpl/nodestore/Database.h>
22 :
Database(scheduler, readThreads, config, journal)
A generic endpoint for log messages.
virtual void rotate(std::unique_ptr< NodeStore::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)
Persistency layer for NodeObject.
Scheduling for asynchronous backend activity.
Holds a collection of configuration values.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.