Public Member Functions | Properties | List of all members
GridGain.Events.CacheEvent Class Reference

More...

Inherits GridGain.Events.EventBase.

Public Member Functions

override string ToShortString ()
 
- Public Member Functions inherited from GridGain.Events.EventBase
bool Equals (EventBase other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
override string ToString ()
 

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...
 
GridGuid Xid [get]
 ID of surrounding cache cache transaction or null if there is no surrounding transaction. More...
 
object LockId [get]
 ID of the lock if held or null if no lock held. 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.EVT_CACHE_OBJECT_PUT, EventType.EVT_CACHE_OBJECT_REMOVED and EventType.EVT_CACHE_OBJECT_READ 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 GridGain.Events.EventBase
GridGuid Id [get]
 
long LocalOrder [get]
 
IClusterNode Node [get]
 
string Message [get]
 
int Type [get]
 
string Name [get]
 
DateTime TimeStamp [get]
 
- Properties inherited from GridGain.Events.IEvent
GridGuid 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 GridGain 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 GridGain.Events.EventBase
 EventBase (IPortableRawReader r)
 Initializes a new instance of the EventBase class. More...
 
- Static Protected Member Functions inherited from GridGain.Events.EventBase
static IClusterNode ReadNode (IPortableRawReader reader)
 Reads a node from stream. More...
 

Detailed Description

In-memory database (cache) event.

Member Function Documentation

override string GridGain.Events.CacheEvent.ToShortString ( )
virtual

Gets shortened version of ToString result.

Reimplemented from GridGain.Events.EventBase.

Property Documentation

string GridGain.Events.CacheEvent.CacheName
get
string GridGain.Events.CacheEvent.ClosureClassName
get
IClusterNode GridGain.Events.CacheEvent.EventNode
get
bool GridGain.Events.CacheEvent.HasNewValue
get
bool GridGain.Events.CacheEvent.HasOldValue
get
bool GridGain.Events.CacheEvent.IsNear
get
object GridGain.Events.CacheEvent.Key
get
object GridGain.Events.CacheEvent.LockId
get
object GridGain.Events.CacheEvent.NewValue
get
object GridGain.Events.CacheEvent.OldValue
get
int GridGain.Events.CacheEvent.Partition
get
Guid GridGain.Events.CacheEvent.SubjectId
get
string GridGain.Events.CacheEvent.TaskName
get
GridGuid GridGain.Events.CacheEvent.Xid
get