| ClusterEventSubscriptionInitialStateMode Enumeration |
The mode for getting the current state of the cluster upon first subscribing.
Namespace:
Akka.Cluster
Assembly:
Akka.Cluster (in Akka.Cluster.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax public enum SubscriptionInitialStateMode
type SubscriptionInitialStateMode
Members
| Member name | Value | Description |
---|
| InitialStateAsSnapshot | 0 |
When using this subscription mode a snapshot of
ClusterEventCurrentClusterState will be sent to the
subscriber as the first message.
|
| InitialStateAsEvents | 1 |
When using this subscription mode the events corresponding
to the current state will be sent to the subscriber to mimic what you would
have seen if you were listening to the events when they occurred in the past.
|
See Also