KlusterKite
0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
|
Namespaces | |
namespace | Cluster |
namespace | Log |
namespace | Monads |
namespace | Ping |
namespace | Service |
namespace | TestKit |
namespace | Tests |
namespace | Utils |
Classes | |
class | ActorSystemUtils |
Utilities to work with
| |
class | BaseInstaller |
Base class to install KlusterKite plugin components More... | |
class | ConfigurationUtils |
Bundle of web related configuration utils More... | |
interface | IMessageRouter |
Base class to route messages. Used to give possibility to create routing mocks More... | |
class | Installer |
Installing components from current library More... | |
class | MessageRouter |
Base class to route messages. More... | |
class | NameSpaceActor |
Actor to provide namespace in actors tree. Usually used only once in library More... | |
class | ShardingProxyWrappperActor |
Wraps sharding proxy into well known path More... | |
class | ShardingWrappperActor |
Wraps sharding into well known path More... | |
Enumerations | |
enum | EnActorType { EnActorType.Simple, EnActorType.Singleton, EnActorType.SingletonProxy, EnActorType.Sharding, EnActorType.ShardingProxy } |
Types of actors to generate from
| |
Functions | |
static void | RunPostStart (ContainerBuilder container, IComponentContext context) |
Runs all registered installers
| |
static void | RunPreCheck (ContainerBuilder container, Config config) |
Runs all registered installers
| |
static void | RunComponentRegistration ([NotNull] ContainerBuilder builder, [NotNull] Config config) |
Performs the installation in the T:Castle.Windsor.IWindsorContainer. More... | |
static string | ReadTextResource (Assembly assembly, string resourceName) |
Reads texts resource More... | |
void | Install ([NotNull] ContainerBuilder container) |
Performs the installation in the T:Castle.Windsor.IWindsorContainer. More... | |
virtual 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... | |
abstract Config | GetAkkaConfig () |
Gets default akka configuration for current module More... | |
virtual IEnumerable< string > | GetRoles () |
Gets list of roles, that would be assign to cluster node with this plugin installed. More... | |
virtual void | PostStart (IComponentContext context) |
This method will be run after service start. Methods are run in
order. More... | |
abstract void | RegisterComponents (ContainerBuilder container, Config config) |
Registering DI components More... | |
|
strong |
Types of actors to generate from
Enumerator | |
---|---|
Simple | Just simple actor |
Singleton | Cluster singleton actor |
SingletonProxy | Cluster singleton proxy actor |
Sharding | Cluster sharding manager |
ShardingProxy | Cluster sharding proxy actor |
Definition at line 15 of file EnActorType.cs.
|
protectedpure virtual |
Gets default akka configuration for current module
|
protectedvirtual |
Gets list of roles, that would be assign to cluster node with this plugin installed.
Definition at line 266 of file BaseInstaller.cs.
void KlusterKite.Core.Install | ( | [NotNull] ContainerBuilder | container | ) |
Performs the installation in the T:Castle.Windsor.IWindsorContainer.
container | The builder. |
Definition at line 221 of file BaseInstaller.cs.
|
protectedvirtual |
This method will be run after service start. Methods are run in
order.
context | The context. |
Definition at line 280 of file BaseInstaller.cs.
|
virtual |
Should check the config and environment for possible errors. If any found, shod throw the exception to prevent node from starting.
config | Full akka config |
Exception | Thrown if there are error in configuration and/or environment |
Definition at line 252 of file BaseInstaller.cs.
|
static |
Reads texts resource
assembly | The resource containing assembly |
resourceName | The resource name |
Definition at line 201 of file BaseInstaller.cs.
|
protectedpure virtual |
Registering DI components
container | The builder. |
config | The config. |
|
static |
Performs the installation in the T:Castle.Windsor.IWindsorContainer.
builder | The builder. |
config | The config. |
Definition at line 170 of file BaseInstaller.cs.
|
static |
Runs all registered installers
container | The builder builder |
context | The context. |
Definition at line 126 of file BaseInstaller.cs.
|
static |
Runs all registered installers
container | The windsor builder. |
config | Full akka config |
Definition at line 147 of file BaseInstaller.cs.