22#include "etl/ETLState.hpp"
24#include <boost/json/object.hpp>
57 [[nodiscard]]
virtual boost::json::object
65 [[nodiscard]]
virtual bool
73 [[nodiscard]]
virtual bool
80 [[nodiscard]]
virtual std::optional<etl::ETLState>
88 [[nodiscard]]
virtual std::uint32_t
This is a base class for any ETL service implementations.
Definition ETLServiceInterface.hpp:36
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 void run()=0
Start all components to run ETL service.
virtual bool isCorruptionDetected() const =0
Check whether Clio detected DB corruptions.
virtual std::uint32_t lastCloseAgeSeconds() const =0
Get time passed since last ledger close, in seconds.
virtual std::optional< etl::ETLState > getETLState() const =0
Get the etl nodes' state.
virtual void stop()=0
Stop the ETL service.