Static Public Attributes | List of all members
GridGain.Events.EventType Class Reference

Contains event type constants. The decision to use class and not enumeration is dictated by allowing users to create their own events and/or event types which would be impossible with enumerations. More...

Static Public Attributes

static readonly int EVT_CHECKPOINT_SAVED = 1
 Built-in event type: checkpoint was saved. More...
 
static readonly int EVT_CHECKPOINT_LOADED = 2
 Built-in event type: checkpoint was loaded. More...
 
static readonly int EVT_CHECKPOINT_REMOVED = 3
 Built-in event type: checkpoint was removed. Reasons are: timeout expired, or or it was manually removed, or it was automatically removed by the task session. More...
 
static readonly int EVT_NODE_JOINED = 10
 Built-in event type: node joined topology. New node has been discovered and joined grid topology. Note that even though a node has been discovered there could be a number of warnings in the log. In certain situations Ignite doesn't prevent a node from joining but prints warning messages into the log. More...
 
static readonly int EVT_NODE_LEFT = 11
 Built-in event type: node has normally left topology. More...
 
static readonly int EVT_NODE_FAILED = 12
 Built-in event type: node failed. Ignite detected that node has presumably crashed and is considered failed. More...
 
static readonly int EVT_NODE_METRICS_UPDATED = 13
 Built-in event type: node metrics updated. Generated when node's metrics are updated. In most cases this callback is invoked with every heartbeat received from a node (including local node). More...
 
static readonly int EVT_NODE_SEGMENTED = 14
 Built-in event type: local node segmented. Generated when node determines that it runs in invalid network segment. More...
 
static readonly int EVT_CLIENT_NODE_DISCONNECTED = 16
 Built-in event type: client node disconnected. More...
 
static readonly int EVT_CLIENT_NODE_RECONNECTED = 17
 Built-in event type: client node reconnected. More...
 
static readonly int EVT_TASK_STARTED = 20
 Built-in event type: task started. More...
 
static readonly int EVT_TASK_FINISHED = 21
 Built-in event type: task finished. Task got finished. This event is triggered every time a task finished without exception. More...
 
static readonly int EVT_TASK_FAILED = 22
 Built-in event type: task failed. Task failed. This event is triggered every time a task finished with an exception. Note that prior to this event, there could be other events recorded specific to the failure. More...
 
static readonly int EVT_TASK_TIMEDOUT = 23
 Built-in event type: task timed out. More...
 
static readonly int EVT_TASK_SESSION_ATTR_SET = 24
 Built-in event type: task session attribute set. More...
 
static readonly int EVT_TASK_REDUCED = 25
 Built-in event type: task reduced. More...
 
static readonly int EVT_JOB_MAPPED = 40
 Built-in event type: grid job was mapped in org.apache.ignite.compute.ComputeTask#map(List, Object) method. More...
 
static readonly int EVT_JOB_RESULTED = 41
 Built-in event type: grid job result was received by org.apache.ignite.compute.ComputeTask#result(org.apache.ignite.compute.ComputeJobResult, List) method. More...
 
static readonly int EVT_JOB_FAILED_OVER = 43
 Built-in event type: grid job failed over. More...
 
static readonly int EVT_JOB_STARTED = 44
 Built-in event type: grid job started. More...
 
static readonly int EVT_JOB_FINISHED = 45
 Built-in event type: grid job finished. Job has successfully completed and produced a result which from the user perspective can still be either negative or positive. More...
 
static readonly int EVT_JOB_TIMEDOUT = 46
 Built-in event type: grid job timed out. More...
 
static readonly int EVT_JOB_REJECTED = 47
 Built-in event type: grid job rejected during collision resolution. More...
 
static readonly int EVT_JOB_FAILED = 48
 Built-in event type: grid job failed. Job has failed. This means that there was some error event during job execution and job did not produce a result. More...
 
static readonly int EVT_JOB_QUEUED = 49
 Built-in event type: grid job queued. Job arrived for execution and has been queued (added to passive queue during collision resolution). More...
 
static readonly int EVT_JOB_CANCELLED = 50
 Built-in event type: grid job cancelled. More...
 
static readonly int EVT_CACHE_ENTRY_CREATED = 60
 Built-in event type: entry created. More...
 
static readonly int EVT_CACHE_ENTRY_DESTROYED = 61
 Built-in event type: entry destroyed. More...
 
static readonly int EVT_CACHE_ENTRY_EVICTED = 62
 Built-in event type: entry evicted. More...
 
static readonly int EVT_CACHE_OBJECT_PUT = 63
 Built-in event type: object put. More...
 
static readonly int EVT_CACHE_OBJECT_READ = 64
 Built-in event type: object read. More...
 
static readonly int EVT_CACHE_OBJECT_REMOVED = 65
 Built-in event type: object removed. More...
 
static readonly int EVT_CACHE_OBJECT_LOCKED = 66
 Built-in event type: object locked. More...
 
static readonly int EVT_CACHE_OBJECT_UNLOCKED = 67
 Built-in event type: object unlocked. More...
 
static readonly int EVT_CACHE_OBJECT_SWAPPED = 68
 Built-in event type: cache object swapped from swap storage. More...
 
static readonly int EVT_CACHE_OBJECT_UNSWAPPED = 69
 Built-in event type: cache object unswapped from swap storage. More...
 
static readonly int EVT_CACHE_OBJECT_EXPIRED = 70
 Built-in event type: cache object was expired when reading it. More...
 
static readonly int EVT_SWAP_SPACE_DATA_READ = 71
 Built-in event type: swap space data read. More...
 
static readonly int EVT_SWAP_SPACE_DATA_STORED = 72
 Built-in event type: swap space data stored. More...
 
static readonly int EVT_SWAP_SPACE_DATA_REMOVED = 73
 Built-in event type: swap space data removed. More...
 
static readonly int EVT_SWAP_SPACE_CLEARED = 74
 Built-in event type: swap space cleared. More...
 
static readonly int EVT_SWAP_SPACE_DATA_EVICTED = 75
 Built-in event type: swap space data evicted. More...
 
static readonly int EVT_CACHE_OBJECT_TO_OFFHEAP = 76
 Built-in event type: cache object stored in off-heap storage. More...
 
static readonly int EVT_CACHE_OBJECT_FROM_OFFHEAP = 77
 Built-in event type: cache object moved from off-heap storage back into memory. More...
 
static readonly int EVT_CACHE_REBALANCE_STARTED = 80
 Built-in event type: cache rebalance started. More...
 
static readonly int EVT_CACHE_REBALANCE_STOPPED = 81
 Built-in event type: cache rebalance stopped. More...
 
static readonly int EVT_CACHE_REBALANCE_PART_LOADED = 82
 Built-in event type: cache partition loaded. More...
 
static readonly int EVT_CACHE_REBALANCE_PART_UNLOADED = 83
 Built-in event type: cache partition unloaded. More...
 
static readonly int EVT_CACHE_REBALANCE_OBJECT_LOADED = 84
 Built-in event type: cache entry rebalanced. More...
 
static readonly int EVT_CACHE_REBALANCE_OBJECT_UNLOADED = 85
 Built-in event type: cache entry unloaded. More...
 
static readonly int EVT_CACHE_REBALANCE_PART_DATA_LOST = 86
 Built-in event type: all nodes that hold partition left topology. More...
 
static readonly int EVT_CACHE_QUERY_EXECUTED = 96
 Built-in event type: query executed. More...
 
static readonly int EVT_CACHE_QUERY_OBJECT_READ = 97
 Built-in event type: query entry read. More...
 
static readonly int EVT_CACHE_STARTED = 98
 Built-in event type: cache started. More...
 
static readonly int EVT_CACHE_STOPPED = 99
 Built-in event type: cache started. More...
 
static readonly int EVT_CACHE_NODES_LEFT = 100
 Built-in event type: cache nodes left. More...
 
static readonly int EVT_LIC_VIOLATION = 1008
 Built-in event type: license violation detected. More...
 
static readonly int EVT_LIC_CLEARED = 1009
 Built-in event type: license violation cleared. More...
 
static readonly int EVT_LIC_GRACE_EXPIRED = 1010
 Built-in event type: license violation grace period is expired. More...
 
static readonly int[] EVTS_LICENSE
 Built-in event type: license violation detected. More...
 
static readonly int[] EVTS_CHECKPOINT
 All checkpoint events. More...
 
static readonly int[] EVTS_ERROR
 All events indicating an error or failure condition. It is convenient to use when fetching all events indicating error or failure. More...
 
static readonly int[] EVTS_DISCOVERY
 All discovery events except for EVT_NODE_METRICS_UPDATED. Subscription to EVT_NODE_METRICS_UPDATED can generate massive amount of event processing in most cases is not necessary. If this event is indeed required you can subscribe to it individually or use EVTS_DISCOVERY_ALL array. More...
 
static readonly int[] EVTS_DISCOVERY_ALL
 All discovery events. More...
 
static readonly int[] EVTS_JOB_EXECUTION
 All grid job execution events. More...
 
static readonly int[] EVTS_TASK_EXECUTION
 All grid task execution events. More...
 
static readonly int[] EVTS_CACHE
 All cache events. More...
 
static readonly int[] EVTS_CACHE_REBALANCE
 All cache rebalance events. More...
 
static readonly int[] EVTS_CACHE_LIFECYCLE
 All cache lifecycle events. More...
 
static readonly int[] EVTS_CACHE_QUERY
 All cache query events. More...
 
static readonly int[] EVTS_SWAPSPACE
 All swap space events. More...
 
static readonly int[] EVTS_ALL = GetAllEvents()
 All grid events. More...
 
static readonly int[] EVTS_ALL_MINUS_METRIC_UPDATE
 All grid events (excluding metric update event). More...
 

Detailed Description

Note that this interface defines not only individual type constants, but arrays of types as well to be conveniently used with IEvents methods.

NOTE: all types in range from 1 to 1000 are reserved for internal Ignite events and should not be used by user-defined events.

Member Data Documentation

readonly int GridGain.Events.EventType.EVT_CACHE_ENTRY_CREATED = 60
static
readonly int GridGain.Events.EventType.EVT_CACHE_ENTRY_DESTROYED = 61
static
readonly int GridGain.Events.EventType.EVT_CACHE_ENTRY_EVICTED = 62
static
readonly int GridGain.Events.EventType.EVT_CACHE_NODES_LEFT = 100
static
readonly int GridGain.Events.EventType.EVT_CACHE_OBJECT_EXPIRED = 70
static
readonly int GridGain.Events.EventType.EVT_CACHE_OBJECT_FROM_OFFHEAP = 77
static
readonly int GridGain.Events.EventType.EVT_CACHE_OBJECT_LOCKED = 66
static
readonly int GridGain.Events.EventType.EVT_CACHE_OBJECT_PUT = 63
static
readonly int GridGain.Events.EventType.EVT_CACHE_OBJECT_READ = 64
static
readonly int GridGain.Events.EventType.EVT_CACHE_OBJECT_REMOVED = 65
static
readonly int GridGain.Events.EventType.EVT_CACHE_OBJECT_SWAPPED = 68
static
readonly int GridGain.Events.EventType.EVT_CACHE_OBJECT_TO_OFFHEAP = 76
static
readonly int GridGain.Events.EventType.EVT_CACHE_OBJECT_UNLOCKED = 67
static
readonly int GridGain.Events.EventType.EVT_CACHE_OBJECT_UNSWAPPED = 69
static
readonly int GridGain.Events.EventType.EVT_CACHE_QUERY_EXECUTED = 96
static
readonly int GridGain.Events.EventType.EVT_CACHE_QUERY_OBJECT_READ = 97
static
readonly int GridGain.Events.EventType.EVT_CACHE_REBALANCE_OBJECT_LOADED = 84
static
readonly int GridGain.Events.EventType.EVT_CACHE_REBALANCE_OBJECT_UNLOADED = 85
static
readonly int GridGain.Events.EventType.EVT_CACHE_REBALANCE_PART_DATA_LOST = 86
static
readonly int GridGain.Events.EventType.EVT_CACHE_REBALANCE_PART_LOADED = 82
static
readonly int GridGain.Events.EventType.EVT_CACHE_REBALANCE_PART_UNLOADED = 83
static
readonly int GridGain.Events.EventType.EVT_CACHE_REBALANCE_STARTED = 80
static
readonly int GridGain.Events.EventType.EVT_CACHE_REBALANCE_STOPPED = 81
static
readonly int GridGain.Events.EventType.EVT_CACHE_STARTED = 98
static
readonly int GridGain.Events.EventType.EVT_CACHE_STOPPED = 99
static
readonly int GridGain.Events.EventType.EVT_CHECKPOINT_LOADED = 2
static
readonly int GridGain.Events.EventType.EVT_CHECKPOINT_REMOVED = 3
static
readonly int GridGain.Events.EventType.EVT_CHECKPOINT_SAVED = 1
static
readonly int GridGain.Events.EventType.EVT_CLIENT_NODE_DISCONNECTED = 16
static
readonly int GridGain.Events.EventType.EVT_CLIENT_NODE_RECONNECTED = 17
static
readonly int GridGain.Events.EventType.EVT_JOB_CANCELLED = 50
static
readonly int GridGain.Events.EventType.EVT_JOB_FAILED = 48
static
readonly int GridGain.Events.EventType.EVT_JOB_FAILED_OVER = 43
static
readonly int GridGain.Events.EventType.EVT_JOB_FINISHED = 45
static
readonly int GridGain.Events.EventType.EVT_JOB_MAPPED = 40
static
readonly int GridGain.Events.EventType.EVT_JOB_QUEUED = 49
static
readonly int GridGain.Events.EventType.EVT_JOB_REJECTED = 47
static
readonly int GridGain.Events.EventType.EVT_JOB_RESULTED = 41
static
readonly int GridGain.Events.EventType.EVT_JOB_STARTED = 44
static
readonly int GridGain.Events.EventType.EVT_JOB_TIMEDOUT = 46
static
readonly int GridGain.Events.EventType.EVT_LIC_CLEARED = 1009
static
readonly int GridGain.Events.EventType.EVT_LIC_GRACE_EXPIRED = 1010
static
readonly int GridGain.Events.EventType.EVT_LIC_VIOLATION = 1008
static
readonly int GridGain.Events.EventType.EVT_NODE_FAILED = 12
static
readonly int GridGain.Events.EventType.EVT_NODE_JOINED = 10
static
readonly int GridGain.Events.EventType.EVT_NODE_LEFT = 11
static
readonly int GridGain.Events.EventType.EVT_NODE_METRICS_UPDATED = 13
static
readonly int GridGain.Events.EventType.EVT_NODE_SEGMENTED = 14
static
readonly int GridGain.Events.EventType.EVT_SWAP_SPACE_CLEARED = 74
static
readonly int GridGain.Events.EventType.EVT_SWAP_SPACE_DATA_EVICTED = 75
static
readonly int GridGain.Events.EventType.EVT_SWAP_SPACE_DATA_READ = 71
static
readonly int GridGain.Events.EventType.EVT_SWAP_SPACE_DATA_REMOVED = 73
static
readonly int GridGain.Events.EventType.EVT_SWAP_SPACE_DATA_STORED = 72
static
readonly int GridGain.Events.EventType.EVT_TASK_FAILED = 22
static
readonly int GridGain.Events.EventType.EVT_TASK_FINISHED = 21
static
readonly int GridGain.Events.EventType.EVT_TASK_REDUCED = 25
static
readonly int GridGain.Events.EventType.EVT_TASK_SESSION_ATTR_SET = 24
static
readonly int GridGain.Events.EventType.EVT_TASK_STARTED = 20
static
readonly int GridGain.Events.EventType.EVT_TASK_TIMEDOUT = 23
static
readonly int [] GridGain.Events.EventType.EVTS_ALL = GetAllEvents()
static
readonly int [] GridGain.Events.EventType.EVTS_ALL_MINUS_METRIC_UPDATE
static
Initial value:
=
EVTS_ALL.Where(x => x != EVT_NODE_METRICS_UPDATED).ToArray()
readonly int [] GridGain.Events.EventType.EVTS_CACHE
static
readonly int [] GridGain.Events.EventType.EVTS_CACHE_LIFECYCLE
static
readonly int [] GridGain.Events.EventType.EVTS_CACHE_QUERY
static
readonly int [] GridGain.Events.EventType.EVTS_CACHE_REBALANCE
static
readonly int [] GridGain.Events.EventType.EVTS_CHECKPOINT
static
readonly int [] GridGain.Events.EventType.EVTS_DISCOVERY
static
readonly int [] GridGain.Events.EventType.EVTS_DISCOVERY_ALL
static
readonly int [] GridGain.Events.EventType.EVTS_ERROR
static
readonly int [] GridGain.Events.EventType.EVTS_JOB_EXECUTION
static
readonly int [] GridGain.Events.EventType.EVTS_LICENSE
static
readonly int [] GridGain.Events.EventType.EVTS_SWAPSPACE
static
readonly int [] GridGain.Events.EventType.EVTS_TASK_EXECUTION
static