Apache Ignite.NET
Apache.Ignite.Core.Events.EventBase Class Reference

Base event implementation. More...

Inheritance diagram for Apache.Ignite.Core.Events.EventBase:
Apache.Ignite.Core.Events.IEvent Apache.Ignite.Core.Events.CacheEvent Apache.Ignite.Core.Events.CacheQueryExecutedEvent Apache.Ignite.Core.Events.CacheQueryReadEvent Apache.Ignite.Core.Events.CacheRebalancingEvent Apache.Ignite.Core.Events.CheckpointEvent Apache.Ignite.Core.Events.DiscoveryEvent Apache.Ignite.Core.Events.JobEvent Apache.Ignite.Core.Events.SwapSpaceEvent Apache.Ignite.Core.Events.TaskEvent

Public Member Functions

virtual string ToShortString ()
 Gets shortened version of ToString result. More...
 
bool Equals (EventBase other)
 Determines whether the specified object is equal to this instance. More...
 
override bool Equals (object obj)
 Determines whether the specified object is equal to this instance. More...
 
override int GetHashCode ()
 Returns a hash code for this instance. More...
 
override string ToString ()
 Returns a string that represents this instance. More...
 

Protected Member Functions

 EventBase (IBinaryRawReader r)
 Initializes a new instance of the EventBase class. More...
 

Static Protected Member Functions

static IClusterNode ReadNode (IBinaryRawReader reader)
 Reads a node from stream. More...
 

Properties

IgniteGuid Id [get]
 Gets globally unique ID of this event. More...
 
long LocalOrder [get]
 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. More...
 
IClusterNode Node [get]
 Node where event occurred and was recorded. More...
 
string Message [get]
 Gets optional message for this event. More...
 
int Type [get]
 Gets type of this event. All system event types are defined in EventType More...
 
string Name [get]
 Gets name of this event. More...
 
DateTime Timestamp [get]
 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. More...
 
- Properties inherited from Apache.Ignite.Core.Events.IEvent
IgniteGuid Id [get]
 Gets globally unique ID of this event. More...
 
long LocalOrder [get]
 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. More...
 
IClusterNode Node [get]
 Node where event occurred and was recorded. More...
 
string Message [get]
 Gets optional message for this event. More...
 
int Type [get]
 Gets type of this event. All system event types are defined in EventType More...
 
string Name [get]
 Gets name of this event. More...
 
DateTime Timestamp [get]
 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. More...
 

Detailed Description

Constructor & Destructor Documentation

Apache.Ignite.Core.Events.EventBase.EventBase ( IBinaryRawReader  r)
protected
Parameters
rThe reader to read data from.

Member Function Documentation

bool Apache.Ignite.Core.Events.EventBase.Equals ( EventBase  other)
Parameters
otherThe object to compare with this instance.
Returns
true if the specified object is equal to this instance; otherwise, false.
override bool Apache.Ignite.Core.Events.EventBase.Equals ( object  obj)
Parameters
objThe object to compare with this instance.
Returns
true if the specified object is equal to this instance; otherwise, false.
override int Apache.Ignite.Core.Events.EventBase.GetHashCode ( )
Returns
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
static IClusterNode Apache.Ignite.Core.Events.EventBase.ReadNode ( IBinaryRawReader  reader)
staticprotected
Parameters
readerReader.
Returns
Node or null.
override string Apache.Ignite.Core.Events.EventBase.ToString ( )
Returns
A string that represents this instance.

Property Documentation

IgniteGuid Apache.Ignite.Core.Events.EventBase.Id
get
long Apache.Ignite.Core.Events.EventBase.LocalOrder
get

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

string Apache.Ignite.Core.Events.EventBase.Message
get
string Apache.Ignite.Core.Events.EventBase.Name
get
IClusterNode Apache.Ignite.Core.Events.EventBase.Node
get
DateTime Apache.Ignite.Core.Events.EventBase.Timestamp
get
int Apache.Ignite.Core.Events.EventBase.Type
get