KlusterKite
0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
|
The resource description More...
Public Member Functions | |
void | SetPosition (MigratorConfigurationState sourceConfiguration) |
Calculates the resource position according to configuration More... | |
Public Attributes | |
string | Key => $"{this.TemplateCode}:{this.MigratorTypeName}:{this.Code}" |
The resource unique key More... | |
Properties | |
string | Name [get, set] |
Gets or sets the human readable resource name More... | |
string | Code [get, set] |
Gets or sets the resource identification More... | |
string | CurrentPoint [get, set] |
Gets or sets the current migration point of the resource More... | |
EnResourcePosition | Position [get, set] |
Gets or sets the resource current position More... | |
string | TemplateCode [get, set] |
Gets or sets the code of MigratorTemplate.Code More... | |
string | MigratorTypeName [get, set] |
Gets or sets the type name of IMigrator More... | |
The resource description
Definition at line 22 of file ResourceConfigurationState.cs.
void KlusterKite.NodeManager.Client.MigrationStates.ResourceConfigurationState.SetPosition | ( | MigratorConfigurationState | sourceConfiguration | ) |
Calculates the resource position according to configuration
sourceConfiguration | The configuration |
Definition at line 71 of file ResourceConfigurationState.cs.
string KlusterKite.NodeManager.Client.MigrationStates.ResourceConfigurationState.Key => $"{this.TemplateCode}:{this.MigratorTypeName}:{this.Code}" |
The resource unique key
Definition at line 29 of file ResourceConfigurationState.cs.
|
getset |
Gets or sets the resource identification
Definition at line 41 of file ResourceConfigurationState.cs.
|
getset |
Gets or sets the current migration point of the resource
Definition at line 47 of file ResourceConfigurationState.cs.
|
getset |
Gets or sets the type name of IMigrator
Definition at line 65 of file ResourceConfigurationState.cs.
|
getset |
Gets or sets the human readable resource name
Definition at line 35 of file ResourceConfigurationState.cs.
|
getset |
Gets or sets the resource current position
Definition at line 53 of file ResourceConfigurationState.cs.
|
getset |
Gets or sets the code of MigratorTemplate.Code
Definition at line 59 of file ResourceConfigurationState.cs.