Class ClusterEvent.MemberRemoved
This class represents a ClusterEvent.MemberStatusChange event where the cluster node changed its status to Removed.
When PreviousStatus is Down the node was removed after being detected as unreachable and downed.
When PreviousStatus is Exiting the node was removed after graceful leaving and exiting.
Inherited Members
Namespace: Akka.Cluster
Assembly: Akka.Cluster.dll
Syntax
public sealed class ClusterEvent.MemberRemoved : ClusterEvent.MemberStatusChange, ClusterEvent.IMemberEvent, ClusterEvent.IClusterDomainEvent, IDeadLetterSuppression
Constructors
| Edit this page View SourceMemberRemoved(Member, MemberStatus)
Initializes a new instance of the ClusterEvent.MemberRemoved class.
Declaration
public MemberRemoved(Member member, MemberStatus previousStatus)
Parameters
| Type | Name | Description |
|---|---|---|
| Member | member | The node that changed state. |
| MemberStatus | previousStatus | The state that the node changed from. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | This exception is thrown if the node's current status doesn't match the Removed status. |
Properties
| Edit this page View SourcePreviousStatus
The status of the node before the state change event.
Declaration
public MemberStatus PreviousStatus { get; }
Property Value
| Type | Description |
|---|---|
| MemberStatus |
Methods
| Edit this page View SourceEquals(object)
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj |
Returns
| Type | Description |
|---|---|
| bool |
Overrides
| Edit this page View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int |
Edit this page