KlusterKite
0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
|
The actor responsible for non-code cluster migrations and updates More...
Classes | |
class | Data |
The current data More... | |
Public Types | |
enum | EnState { EnState.Idle, EnState.Migration, EnState.InitializationFailed } |
The state of migration More... | |
Public Member Functions | |
MigrationActor (UniversalContextFactory contextFactory, IPackageRepository nugetRepository) | |
Initializes a new instance of the MigrationActor class. More... | |
Static Public Member Functions | |
static IEnumerable< MigratorTemplateMigrationState > | CreateMigrationState (IReadOnlyCollection< MigratorTemplateConfigurationState > sourceMigratorTemplateStates, IReadOnlyCollection< MigratorTemplateConfigurationState > destinationMigratorTemplateStates) |
Creates migration state from configuration states More... | |
Protected Member Functions | |
override void | PreStart () |
Properties | |
virtual IActorRef | Parent [get] |
Gets the parent actor to notify of action complete More... | |
The actor responsible for non-code cluster migrations and updates
Definition at line 42 of file MigrationActor.cs.
|
strong |
The state of migration
Enumerator | |
---|---|
Idle | There is no migration in process |
Migration | There is migration in process |
InitializationFailed | The state checked failed |
Definition at line 100 of file MigrationActor.cs.
KlusterKite.NodeManager.MigrationActor.MigrationActor | ( | UniversalContextFactory | contextFactory, |
IPackageRepository | nugetRepository | ||
) |
Initializes a new instance of the MigrationActor class.
contextFactory | The context Factory. |
nugetRepository | The nuget Repository. |
Definition at line 84 of file MigrationActor.cs.
|
static |
Creates migration state from configuration states
sourceMigratorTemplateStates | The resource state according to source configuration |
destinationMigratorTemplateStates | The resource state according to destination configuration |
Definition at line 129 of file MigrationActor.cs.
|
protected |
Definition at line 175 of file MigrationActor.cs.
|
getprotected |
Gets the parent actor to notify of action complete
Definition at line 121 of file MigrationActor.cs.