|
|
static constexpr auto | kDEFAULT_DB_STALLED_REPORT_DELAY = std::chrono::seconds{10} |
| | The time Monitor should wait before reporting absence of updates to the database.
|
◆ make()
Create a new Monitor instance.
- Parameters
-
| ctx | The execution context for asynchronous operations |
| backend | Interface to the backend database |
| validatedLedgers | Interface for accessing network validated ledgers |
| startSequence | The sequence number to start monitoring from |
| dbStalledReportDelay | The timeout duration after which to signal no database updates |
- Returns
- A unique pointer to a Monitor implementation
Implements etlng::MonitorProviderInterface.
The documentation for this class was generated from the following file: