Echo.Process

Echo.Process Cluster

Contents

class ClusterConfig Source #

Fields

field ProcessName NodeName Source #

field string ConnectionString Source #

field string CatalogueName Source #

field ProcessName Role Source #

Constructors

constructor ClusterConfig ( ProcessName nodeName, string connectionString, string catalogueName, ProcessName role ) Source #

class Msg Source #

Fields

field MsgTag Tag Source #

Constructors

constructor Msg (MsgTag tag) Source #

class State Source #

Fields

field HashMap<ProcessName, ClusterNode> Members Source #

field HashMap<ProcessName, ClusterNode> Members24 Source #

field IActorSystem System Source #

Constructors

constructor State ( HashMap<ProcessName, ClusterNode> members, HashMap<ProcessName, ClusterNode> members24, IActorSystem system) Source #

Methods

method State Empty (IActorSystem system) Source #

method State SetMember (ProcessName nodeName, ClusterNode state) Source #

method State RemoveMember (ProcessName nodeName) Source #

class ClusterNode Source #

Fields

field ProcessName NodeName Source #

field DateTime LastHeartbeat Source #

field ProcessName Role Source #

Constructors

constructor ClusterNode (ProcessName nodeName, DateTime lastHeartbeat, ProcessName role) Source #

class ClusterFactory Source #

Methods

method Unit RegisterProvider (string name, Func<ClusterConfig, ICluster> provider) Source #

Provider registration

Parameters

param name

Name

param provider

Function that generates a new cluster based on provided config

returns

Unit

method ICluster CreateCluster (string providerName, ClusterConfig config) Source #

Create a process cluster

Parameters

param providerName
param config
returns

ICluster

interface ICluster Source #