Clio develop
The XRP Ledger API server.
|
The migration manager implementation for Cassandra. It will run the migration for the Cassandra database. More...
#include <MigrationManagerBase.hpp>
Public Member Functions | |
MigrationManagerBase (std::shared_ptr< typename SupportedMigrators::BackendType > backend, util::config::ObjectView config) | |
Construct a new Cassandra Migration Manager object. | |
void | runMigration (std::string const &name) override |
Run the the migration according to the given migrator's name. | |
![]() | |
![]() | |
![]() | |
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. | |
Additional Inherited Members | |
![]() | |
SupportedMigrators | migrators_ |
The migration manager implementation for Cassandra. It will run the migration for the Cassandra database.
SupportedMigrators | The migrators resgister that contains all the migrators |
|
inlineexplicit |
Construct a new Cassandra Migration Manager object.
backend | The backend of the Cassandra database |
config | The configuration of the migration |
|
inlineoverridevirtual |
Run the the migration according to the given migrator's name.
name | The name of the migrator |
Implements migration::MigrationManagerInterface.