Class ClusterEvent.MemberStatusChange
This class provides base functionality for defining state change events for cluster member nodes.
Inheritance
ClusterEvent.MemberStatusChange
Inherited Members
Namespace: Akka.Cluster
Assembly: Akka.Cluster.dll
Syntax
public abstract class ClusterEvent.MemberStatusChange : ClusterEvent.IMemberEvent, ClusterEvent.IClusterDomainEvent, IDeadLetterSuppression
Constructors
| Edit this page View SourceMemberStatusChange(Member, MemberStatus)
Initializes a new instance of the ClusterEvent.MemberStatusChange class.
Declaration
protected MemberStatusChange(Member member, MemberStatus validStatus)
Parameters
| Type | Name | Description |
|---|---|---|
| Member | member | The node that changed state. |
| MemberStatus | validStatus | The state that the node changed towards. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | This exception is thrown if the node's current status doesn't match the given status, |
Fields
| Edit this page View Source_member
TBD
Declaration
protected readonly Member _member
Field Value
| Type | Description |
|---|---|
| Member |
Properties
| Edit this page View SourceMember
The cluster member node that changed status.
Declaration
public Member Member { get; }
Property Value
| Type | Description |
|---|---|
| Member |
Methods
| Edit this page View SourceEquals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| bool | true if the specified object is equal to the current object; otherwise, false. |
Overrides
| Edit this page View SourceGetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for the current object. |
Overrides
| Edit this page View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |
Edit this page