1#ifndef XRPL_APP_MAIN_LOADMANAGER_H_INCLUDED
2#define XRPL_APP_MAIN_LOADMANAGER_H_INCLUDED
4#include <xrpl/beast/utility/Journal.h>
A generic endpoint for log messages.
LoadManager & operator=(LoadManager const &)=delete
std::chrono::steady_clock::time_point lastHeartbeat_
std::condition_variable cv_
void activateStallDetector()
Turn on stall detection.
LoadManager(LoadManager const &)=delete
beast::Journal const journal_
void heartbeat()
Reset the stall detection timer.
~LoadManager()
Destroy the manager.
friend std::unique_ptr< LoadManager > make_LoadManager(Application &app, beast::Journal journal)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::unique_ptr< LoadManager > make_LoadManager(Application &app, beast::Journal journal)