Clio develop
The XRP Ledger API server.
|
The migration inspector implementation for Cassandra. It will report the migration status for Cassandra database. More...
#include <MigrationInspectorBase.hpp>
Public Member Functions | |
MigrationInspectorBase (std::shared_ptr< typename SupportedMigrators::BackendType > backend) | |
Construct a new Cassandra Migration Inspector object. | |
std::vector< std::tuple< std::string, MigratorStatus > > | allMigratorsStatusPairs () const override |
Get the status of all the migrators. | |
MigratorStatus | getMigratorStatusByName (std::string const &name) const override |
Get the status of a migrator by its name. | |
std::vector< std::string > | allMigratorsNames () const override |
Get all registered migrators' names. | |
std::string | getMigratorDescriptionByName (std::string const &name) const override |
Get the description of a migrator by its name. | |
bool | isBlockingClio () const override |
Return if there is uncomplete migrator blocking the server. | |
![]() |
Protected Attributes | |
SupportedMigrators | migrators_ |
The migration inspector implementation for Cassandra. It will report the migration status for Cassandra database.
SupportedMigrators | The migrators resgister that contains all the migrators |
|
inlineexplicit |
Construct a new Cassandra Migration Inspector object.
backend | The backend of the Cassandra database |
|
inlineoverridevirtual |
Get all registered migrators' names.
Implements migration::MigrationInspectorInterface.
|
inlineoverridevirtual |
Get the status of all the migrators.
Implements migration::MigrationInspectorInterface.
|
inlineoverridevirtual |
Get the description of a migrator by its name.
name | The name of the migrator |
Implements migration::MigrationInspectorInterface.
|
inlineoverridevirtual |
Get the status of a migrator by its name.
name | The name of the migrator |
Implements migration::MigrationInspectorInterface.
|
inlineoverridevirtual |
Return if there is uncomplete migrator blocking the server.
Implements migration::MigrationInspectorInterface.