Search Results for

Show / Hide Table of Contents

# Class DiscoveryEvent

Grid discovery event.

##### Inheritance

System.Object
EventBase
DiscoveryEvent

##### Implements

IEvent
IEquatable<EventBase>

##### Inherited Members

EventBase.Id
EventBase.LocalOrder
EventBase.Node
EventBase.Message
EventBase.Type
EventBase.Name
EventBase.Timestamp
EventBase.Equals(EventBase)
EventBase.Equals(Object)
EventBase.GetHashCode()
EventBase.ToString()
EventBase.ReadNode(IBinaryRawReader)

###### Namespace: Apache.Ignite.Core.Events

###### Assembly: Apache.Ignite.Core.dll

##### Syntax

    public sealed class DiscoveryEvent : EventBase, IEvent, IEquatable<EventBase>

### 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

EventBase.ToShortString()

### Implements

IEvent
IEquatable<>