20#ifndef RIPPLE_NODESTORE_DATABASEROTATING_H_INCLUDED
21#define RIPPLE_NODESTORE_DATABASEROTATING_H_INCLUDED
23#include <xrpld/nodestore/Database.h>
41 :
Database(scheduler, readThreads, config, journal)
51 std::string const& writableBackendName)>
const& f) = 0;
A generic endpoint for log messages.
DatabaseRotating(Scheduler &scheduler, int readThreads, Section const &config, beast::Journal journal)
virtual void rotateWithLock(std::function< std::unique_ptr< NodeStore::Backend >(std::string const &writableBackendName)> const &f)=0
Rotates the backends.
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.