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 ()
 
bool Equals (EventBase other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
override string ToString ()
 

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]
 
long LocalOrder [get]
 
IClusterNode Node [get]
 
string Message [get]
 
int Type [get]
 
string Name [get]
 
DateTime Timestamp [get]
 
- 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)
override bool Apache.Ignite.Core.Events.EventBase.Equals ( object  obj)
override int Apache.Ignite.Core.Events.EventBase.GetHashCode ( )
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 ( )

Property Documentation

IgniteGuid Apache.Ignite.Core.Events.EventBase.Id
get
long Apache.Ignite.Core.Events.EventBase.LocalOrder
get
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