MemberInfo Class
Namespace: Hazelcast.Models
Assembly: Hazelcast.Net.dll
Represents a member of a cluster.
public class MemberInfo : IEquatable<MemberInfo>
Implements
Inherited Members
Remarks
This class implements IEquatable<T> and two instances are considered equal if their Id are identical (the other fields are not considered for equality).
Constructors
| Name | Description |
|---|---|
| MemberInfo(Guid, NetworkAddress, MemberVersion, bool, IReadOnlyDictionary<string, string>) | Initializes a new instance of the MemberInfo class. |
Properties
| Name | Description |
|---|---|
| Address | Gets the network address of the member. |
| Attributes | Gets the attributes of the member. |
| HasPublicAddress | Whether the member has a public address in addition to its address. |
| Id | Gets the unique identifier of the member. |
| IsLiteMember | Determines whether the member is a "lite" member. |
| PublicAddress | Gets the public network address of the member. |
| Version | Gets the version of the server running the member. |
Methods
| Name | Description |
|---|---|
| Equals(MemberInfo) | Determines whether this MemberInfo instance is equal to another MemberInfo instance. |
| Equals(object) | Determines whether the specified object is equal to the current object. |
| GetHashCode() | Serves as the default hash function. |
| ToShortString(bool) | |
| ToString() | Returns a string that represents the current object. |
Operators
| Name | Description |
|---|---|
| operator ==(MemberInfo, MemberInfo) | Determines whether two MemberInfo instances are equal. |
| operator !=(MemberInfo, MemberInfo) | Determines whether two MemberInfo instances are not equal. |