Clio develop
The XRP Ledger API server.
|
This is a base class for any ETL service implementations. More...
#include <ETLServiceInterface.hpp>
Public Member Functions | |
virtual void | run ()=0 |
Start all components to run ETL service. | |
virtual void | stop ()=0 |
Stop the ETL service. | |
virtual boost::json::object | getInfo () const =0 |
Get state of ETL as a JSON object. | |
virtual bool | isAmendmentBlocked () const =0 |
Check for the amendment blocked state. | |
virtual bool | isCorruptionDetected () const =0 |
Check whether Clio detected DB corruptions. | |
virtual std::optional< etl::ETLState > | getETLState () const =0 |
Get the etl nodes' state. | |
virtual std::uint32_t | lastCloseAgeSeconds () const =0 |
Get time passed since last ledger close, in seconds. | |
This is a base class for any ETL service implementations.
|
nodiscardpure virtual |
Get the etl nodes' state.
Implemented in etl::ETLService, and etlng::ETLService.
|
nodiscardpure virtual |
Get state of ETL as a JSON object.
Implemented in etl::ETLService, and etlng::ETLService.
|
nodiscardpure virtual |
Check for the amendment blocked state.
Implemented in etl::ETLService, and etlng::ETLService.
|
nodiscardpure virtual |
Check whether Clio detected DB corruptions.
Implemented in etl::ETLService, and etlng::ETLService.
|
nodiscardpure virtual |
Get time passed since last ledger close, in seconds.
Implemented in etl::ETLService, and etlng::ETLService.
|
pure virtual |
Start all components to run ETL service.
Implemented in etl::ETLService, and etlng::ETLService.
|
pure virtual |
Stop the ETL service.
Implemented in etl::ETLService, and etlng::ETLService.