Class ClusterEvent
Domain events published to the event bus. Subscribe with:
var cluster = new Cluster(system);
cluster.Subscribe(actorRef, typeof(IClusterDomainEvent));
Inherited Members
Namespace: Akka.Cluster
Assembly: Akka.Cluster.dll
Syntax
public class ClusterEvent
Fields
| Improve this Doc View SourceInitialStateAsEvents
Get the current state of the cluster played back as a series of ClusterEvent.IMemberEvent and ClusterEvent.IReachabilityEvent messages.
Declaration
public static readonly ClusterEvent.SubscriptionInitialStateMode InitialStateAsEvents
Field Value
Type | Description |
---|---|
ClusterEvent.SubscriptionInitialStateMode |
InitialStateAsSnapshot
Get the initial state as a ClusterEvent.CurrentClusterState message.
Declaration
public static readonly ClusterEvent.SubscriptionInitialStateMode InitialStateAsSnapshot
Field Value
Type | Description |
---|---|
ClusterEvent.SubscriptionInitialStateMode |