20 #ifndef RIPPLE_NODESTORE_DATABASEROTATING_H_INCLUDED
21 #define RIPPLE_NODESTORE_DATABASEROTATING_H_INCLUDED
23 #include <ripple/nodestore/Database.h>
43 :
Database(name, parent, scheduler, readThreads, config, journal)
Holds a collection of configuration values.
Persistency layer for NodeObject.
virtual std::shared_ptr< Backend > rotateBackends(std::shared_ptr< Backend > newBackend, std::lock_guard< std::mutex > const &)=0
Provides an interface for starting and stopping.
virtual std::shared_ptr< Backend > const & getWritableBackend() const =0
A generic endpoint for log messages.
Scheduling for asynchronous backend activity.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
virtual TaggedCache< uint256, NodeObject > const & getPositiveCache()=0
DatabaseRotating(std::string const &name, Stoppable &parent, Scheduler &scheduler, int readThreads, Section const &config, beast::Journal journal)
virtual std::mutex & peekMutex() const =0