Search Results for

Show / Hide Table of Contents

# Interface IEvent

Represents a Ignite event.

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

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

##### Syntax

    public interface IEvent

### Properties

#### Id

Gets globally unique ID of this event.

##### Declaration

    IgniteGuid Id { get; }

##### Property Value

Type | Description
--- | ---
IgniteGuid |

#### LocalOrder

Gets locally unique ID that is atomically incremented for each event. Unlike global Id this local ID can be used for ordering events on this node.

Note that for performance considerations Ignite doesn't order events globally.

##### Declaration

    long LocalOrder { get; }

##### Property Value

Type | Description
--- | ---
System.Int64 |

#### Message

Gets optional message for this event.

##### Declaration

    string Message { get; }

##### Property Value

Type | Description
--- | ---
System.String |

#### Name

Gets name of this event.

##### Declaration

    string Name { get; }

##### Property Value

Type | Description
--- | ---
System.String |

#### Node

Node where event occurred and was recorded.

##### Declaration

    IClusterNode Node { get; }

##### Property Value

Type | Description
--- | ---
IClusterNode |

#### Timestamp

Gets event timestamp. Timestamp is local to the node on which this event was produced. Note that more than one event can be generated with the same timestamp. For ordering purposes use LocalOrder instead.

##### Declaration

    DateTime Timestamp { get; }

##### Property Value

Type | Description
--- | ---
DateTime |

#### Type

Gets type of this event. All system event types are defined in EventType

##### Declaration

    int Type { get; }

##### Property Value

Type | Description
--- | ---
System.Int32 |

### Methods

#### ToShortString()

Gets shortened version of ToString result.

##### Declaration

    string ToShortString()

##### Returns

Type | Description
--- | ---
System.String |