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

Installing components from current library More...

Inheritance diagram for KlusterKite.NodeManager.Installer:
KlusterKite.Core.BaseInstaller

Public Member Functions

override void PreCheck (Config config)
 Should check the config and environment for possible errors. If any found, shod throw the exception to prevent node from starting. More...
 

Protected Member Functions

override Config GetAkkaConfig ()
 Gets default akka configuration for current module More...
 
override IEnumerable< string > GetRoles ()
 Gets list of roles, that would be assign to cluster node with this plugin installed. More...
 
override void RegisterComponents (ContainerBuilder container, Config config)
 

Protected Attributes

override decimal AkkaConfigLoadPriority => BaseInstaller.PriorityClusterRole
 Gets priority for ordering akka configurations. Highest priority will override lower priority. More...
 
- Protected Attributes inherited from KlusterKite.Core.BaseInstaller
const decimal PriorityClusterRole = 100M
 Predefined priority to load configuration for plugins, that handles node role functionality More...
 
const decimal PrioritySharedLib = 10M
 Predefined priority to load configuration for plugins, that handles other plugins functionality More...
 
const decimal PriorityTest = 100M
 Predefined priority to load configuration for plugins, that handles unit tests More...
 

Additional Inherited Members

- Static Public Member Functions inherited from KlusterKite.Core.BaseInstaller
static IList< BaseInstallerGetRegisteredBaseInstallers (ContainerBuilder container)
 Gets the list of all registered installers More...
 
static Config GetStackedConfig (ContainerBuilder container, Config config)
 Generates overall akka config from all registered modules (with respect to external provided configuration file) More...
 
- Properties inherited from KlusterKite.Core.BaseInstaller
abstract decimal AkkaConfigLoadPriority [get]
 Gets priority for ordering akka configurations. Highest priority will override lower priority. More...
 

Detailed Description

Installing components from current library

Definition at line 28 of file Installer.cs.

Member Function Documentation

◆ GetAkkaConfig()

override Config KlusterKite.NodeManager.Installer.GetAkkaConfig ( )
protected

Gets default akka configuration for current module

Returns
Akka configuration

◆ GetRoles()

override IEnumerable<string> KlusterKite.NodeManager.Installer.GetRoles ( )
protected

Gets list of roles, that would be assign to cluster node with this plugin installed.

Returns
The list of roles

◆ PreCheck()

override void KlusterKite.NodeManager.Installer.PreCheck ( Config  config)

Should check the config and environment for possible errors. If any found, shod throw the exception to prevent node from starting.

Parameters
configFull akka config
Exceptions
System.ExceptionThrown if there are error in configuration and/or environment

Definition at line 45 of file Installer.cs.

◆ RegisterComponents()

override void KlusterKite.NodeManager.Installer.RegisterComponents ( ContainerBuilder  container,
Config  config 
)
protected

Definition at line 82 of file Installer.cs.

Member Data Documentation

◆ AkkaConfigLoadPriority

override decimal KlusterKite.NodeManager.Installer.AkkaConfigLoadPriority => BaseInstaller.PriorityClusterRole
protected

Gets priority for ordering akka configurations. Highest priority will override lower priority.

Consider using

See also
BaseInstaller

integrated constants

Definition at line 35 of file Installer.cs.


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