Class DiscoveryEvent
Grid discovery event.
Inherited Members
Namespace: Apache.Ignite.Core.Events
Assembly: Apache.Ignite.Core.dll
Syntax
public sealed class DiscoveryEvent : EventBase, IEvent
Properties
EventNode
Gets node that caused this event to be generated. It is potentially different from the node on which this event was recorded. For example, node A locally recorded the event that a remote node B joined the topology. In this case this property will return node B.
Declaration
public IClusterNode EventNode { get; }
Property Value
Type | Description |
---|---|
IClusterNode |
TopologyNodes
Gets topology nodes from topology snapshot. If SPI implementation does not support versioning, the best effort snapshot will be captured.
Declaration
public ICollection<IClusterNode> TopologyNodes { get; }
Property Value
Type | Description |
---|---|
ICollection<IClusterNode> |
TopologyVersion
Gets topology version if this event is raised on topology change and configured discovery SPI implementation supports topology versioning.
Declaration
public long TopologyVersion { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Methods
ToShortString()
Gets shortened version of ToString result.
Declaration
public override string ToShortString()
Returns
Type | Description |
---|---|
System.String |
Overrides
Implements
IEquatable<>