Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
etl::CorruptionDetector Class Reference

A helper to notify Clio operator about a corruption in the DB. More...

#include <CorruptionDetector.hpp>

Public Member Functions

 CorruptionDetector (SystemState &state, data::LedgerCacheInterface &cache)
 Construct a new Corruption Detector object.
 
void onCorruptionDetected ()
 Notify the operator about a corruption in the DB.
 

Detailed Description

A helper to notify Clio operator about a corruption in the DB.

Template Parameters
CacheTypeThe type of the cache to disable on corruption

Constructor & Destructor Documentation

◆ CorruptionDetector()

etl::CorruptionDetector::CorruptionDetector ( SystemState & state,
data::LedgerCacheInterface & cache )
inline

Construct a new Corruption Detector object.

Parameters
stateThe system state
cacheThe cache to disable on corruption

The documentation for this class was generated from the following file: