KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.NodeManager.Client.MigrationStates.ResourceConfigurationState Class Reference

The resource description More...

Inheritance diagram for KlusterKite.NodeManager.Client.MigrationStates.ResourceConfigurationState:
KlusterKite.NodeManager.Client.MigrationStates.ResourceMigrationState

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...
 

Detailed Description

The resource description

Definition at line 22 of file ResourceConfigurationState.cs.

Member Function Documentation

◆ SetPosition()

void KlusterKite.NodeManager.Client.MigrationStates.ResourceConfigurationState.SetPosition ( MigratorConfigurationState  sourceConfiguration)

Calculates the resource position according to configuration

Parameters
sourceConfigurationThe configuration

Definition at line 71 of file ResourceConfigurationState.cs.

Member Data Documentation

◆ Key

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.

Property Documentation

◆ Code

string KlusterKite.NodeManager.Client.MigrationStates.ResourceConfigurationState.Code
getset

Gets or sets the resource identification

Definition at line 41 of file ResourceConfigurationState.cs.

◆ CurrentPoint

string KlusterKite.NodeManager.Client.MigrationStates.ResourceConfigurationState.CurrentPoint
getset

Gets or sets the current migration point of the resource

Definition at line 47 of file ResourceConfigurationState.cs.

◆ MigratorTypeName

string KlusterKite.NodeManager.Client.MigrationStates.ResourceConfigurationState.MigratorTypeName
getset

Gets or sets the type name of IMigrator

Definition at line 65 of file ResourceConfigurationState.cs.

◆ Name

string KlusterKite.NodeManager.Client.MigrationStates.ResourceConfigurationState.Name
getset

Gets or sets the human readable resource name

Definition at line 35 of file ResourceConfigurationState.cs.

◆ Position

EnResourcePosition KlusterKite.NodeManager.Client.MigrationStates.ResourceConfigurationState.Position
getset

Gets or sets the resource current position

Definition at line 53 of file ResourceConfigurationState.cs.

◆ TemplateCode

string KlusterKite.NodeManager.Client.MigrationStates.ResourceConfigurationState.TemplateCode
getset

Gets or sets the code of MigratorTemplate.Code

Definition at line 59 of file ResourceConfigurationState.cs.


The documentation for this class was generated from the following file: