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

In-memory database (cache) event. More...

Inheritance diagram for Apache.Ignite.Core.Events.CacheEvent:
Apache.Ignite.Core.Events.EventBase Apache.Ignite.Core.Events.IEvent

Public Member Functions

override string ToShortString ()
 Gets shortened version of ToString result. More...
 
- Public Member Functions inherited from Apache.Ignite.Core.Events.EventBase
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...
 

Properties

string CacheName [get]
 Gets cache name. More...
 
int Partition [get]
 Gets partition for the event which is the partition the key belongs to. More...
 
bool IsNear [get]
 Gets flag indicating whether event happened on near or partitioned cache. More...
 
IClusterNode EventNode [get]
 Gets node which initiated cache operation or null if that node is not available. More...
 
object Key [get]
 Gets cache entry associated with event. More...
 
IgniteGuid Xid [get]
 ID of surrounding cache cache transaction or null if there is no surrounding transaction. More...
 
object NewValue [get]
 Gets new value for this event. More...
 
object OldValue [get]
 Gets old value associated with this event. More...
 
bool HasOldValue [get]
 Gets flag indicating whether cache entry has old value in case if we only have old value in serialized form in which case OldValue will return null. More...
 
bool HasNewValue [get]
 Gets flag indicating whether cache entry has new value in case if we only have new value in serialized form in which case NewValue will return null. More...
 
Guid SubjectId [get]
 Gets security subject ID initiated this cache event, if available. This property is available only for EventType.CacheObjectPut, EventType.CacheObjectRemoved and EventType.CacheObjectRead cache events. Subject ID will be set either to nodeId initiated cache update or read or client ID initiated cache update or read. More...
 
string ClosureClassName [get]
 Gets closure class name (applicable only for TRANSFORM operations). More...
 
string TaskName [get]
 Gets task name if cache event was caused by an operation initiated within task execution. More...
 
- Properties inherited from Apache.Ignite.Core.Events.EventBase
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...
 

Additional Inherited Members

- Protected Member Functions inherited from Apache.Ignite.Core.Events.EventBase
 EventBase (IBinaryRawReader r)
 Initializes a new instance of the EventBase class. More...
 
- Static Protected Member Functions inherited from Apache.Ignite.Core.Events.EventBase
static IClusterNode ReadNode (IBinaryRawReader reader)
 Reads a node from stream. More...
 

Detailed Description

Member Function Documentation

override string Apache.Ignite.Core.Events.CacheEvent.ToShortString ( )
virtual

Property Documentation

string Apache.Ignite.Core.Events.CacheEvent.CacheName
get
string Apache.Ignite.Core.Events.CacheEvent.ClosureClassName
get
IClusterNode Apache.Ignite.Core.Events.CacheEvent.EventNode
get
bool Apache.Ignite.Core.Events.CacheEvent.HasNewValue
get
bool Apache.Ignite.Core.Events.CacheEvent.HasOldValue
get
bool Apache.Ignite.Core.Events.CacheEvent.IsNear
get
object Apache.Ignite.Core.Events.CacheEvent.Key
get
object Apache.Ignite.Core.Events.CacheEvent.NewValue
get
object Apache.Ignite.Core.Events.CacheEvent.OldValue
get
int Apache.Ignite.Core.Events.CacheEvent.Partition
get
Guid Apache.Ignite.Core.Events.CacheEvent.SubjectId
get
string Apache.Ignite.Core.Events.CacheEvent.TaskName
get
IgniteGuid Apache.Ignite.Core.Events.CacheEvent.Xid
get