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 MemberRemoved : ClusterEvent.MemberStatusChange, ClusterEvent.IMemberEvent, ClusterEvent.IClusterDomainEvent, IDeadLetterSuppression
Constructors
| Improve this Doc 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
| Improve this Doc View SourcePreviousStatus
The status of the node before the state change event.
Declaration
public MemberStatus PreviousStatus { get; }
Property Value
Type | Description |
---|---|
MemberStatus |
Methods
| Improve this Doc View SourceEquals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj |
Returns
Type | Description |
---|---|
Boolean |
Overrides
| Improve this Doc View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |