Class EventType
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.
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.
Inheritance
Namespace: Apache.Ignite.Core.Events
Assembly: Apache.Ignite.Core.dll
Syntax
public static class EventType : object
Fields
CacheEntryCreated
Built-in event type: entry created.
Declaration
public static readonly int CacheEntryCreated
Field Value
Type | Description |
---|---|
System.Int32 |
CacheEntryDestroyed
Built-in event type: entry destroyed.
Declaration
public static readonly int CacheEntryDestroyed
Field Value
Type | Description |
---|---|
System.Int32 |
CacheEntryEvicted
Built-in event type: entry evicted.
Declaration
public static readonly int CacheEntryEvicted
Field Value
Type | Description |
---|---|
System.Int32 |
CacheNodesLeft
Built-in event type: cache nodes left.
Declaration
public static readonly int CacheNodesLeft
Field Value
Type | Description |
---|---|
System.Int32 |
CacheObjectExpired
Built-in event type: cache object was expired when reading it.
Declaration
public static readonly int CacheObjectExpired
Field Value
Type | Description |
---|---|
System.Int32 |
CacheObjectFromOffheap
Built-in event type: cache object moved from off-heap storage back into memory.
Declaration
public static readonly int CacheObjectFromOffheap
Field Value
Type | Description |
---|---|
System.Int32 |
CacheObjectLocked
Built-in event type: object locked.
Declaration
public static readonly int CacheObjectLocked
Field Value
Type | Description |
---|---|
System.Int32 |
CacheObjectPut
Built-in event type: object put.
Declaration
public static readonly int CacheObjectPut
Field Value
Type | Description |
---|---|
System.Int32 |
CacheObjectRead
Built-in event type: object read.
Declaration
public static readonly int CacheObjectRead
Field Value
Type | Description |
---|---|
System.Int32 |
CacheObjectRemoved
Built-in event type: object removed.
Declaration
public static readonly int CacheObjectRemoved
Field Value
Type | Description |
---|---|
System.Int32 |
CacheObjectToOffheap
Built-in event type: cache object stored in off-heap storage.
Declaration
public static readonly int CacheObjectToOffheap
Field Value
Type | Description |
---|---|
System.Int32 |
CacheObjectUnlocked
Built-in event type: object unlocked.
Declaration
public static readonly int CacheObjectUnlocked
Field Value
Type | Description |
---|---|
System.Int32 |
CacheQueryExecuted
Built-in event type: query executed.
Declaration
public static readonly int CacheQueryExecuted
Field Value
Type | Description |
---|---|
System.Int32 |
CacheQueryObjectRead
Built-in event type: query entry read.
Declaration
public static readonly int CacheQueryObjectRead
Field Value
Type | Description |
---|---|
System.Int32 |
CacheRebalanceObjectLoaded
Built-in event type: cache entry rebalanced.
Declaration
public static readonly int CacheRebalanceObjectLoaded
Field Value
Type | Description |
---|---|
System.Int32 |
CacheRebalanceObjectUnloaded
Built-in event type: cache entry unloaded.
Declaration
public static readonly int CacheRebalanceObjectUnloaded
Field Value
Type | Description |
---|---|
System.Int32 |
CacheRebalancePartDataLost
Built-in event type: all nodes that hold partition left topology.
Declaration
public static readonly int CacheRebalancePartDataLost
Field Value
Type | Description |
---|---|
System.Int32 |
CacheRebalancePartLoaded
Built-in event type: cache partition loaded.
Declaration
public static readonly int CacheRebalancePartLoaded
Field Value
Type | Description |
---|---|
System.Int32 |
CacheRebalancePartUnloaded
Built-in event type: cache partition unloaded.
Declaration
public static readonly int CacheRebalancePartUnloaded
Field Value
Type | Description |
---|---|
System.Int32 |
CacheRebalanceStarted
Built-in event type: cache rebalance started.
Declaration
public static readonly int CacheRebalanceStarted
Field Value
Type | Description |
---|---|
System.Int32 |
CacheRebalanceStopped
Built-in event type: cache rebalance stopped.
Declaration
public static readonly int CacheRebalanceStopped
Field Value
Type | Description |
---|---|
System.Int32 |
CacheStarted
Built-in event type: cache started.
Declaration
public static readonly int CacheStarted
Field Value
Type | Description |
---|---|
System.Int32 |
CacheStopped
Built-in event type: cache started.
Declaration
public static readonly int CacheStopped
Field Value
Type | Description |
---|---|
System.Int32 |
CheckpointLoaded
Built-in event type: checkpoint was loaded.
Declaration
public static readonly int CheckpointLoaded
Field Value
Type | Description |
---|---|
System.Int32 |
CheckpointRemoved
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.
Declaration
public static readonly int CheckpointRemoved
Field Value
Type | Description |
---|---|
System.Int32 |
CheckpointSaved
Built-in event type: checkpoint was saved.
Declaration
public static readonly int CheckpointSaved
Field Value
Type | Description |
---|---|
System.Int32 |
ClientNodeDisconnected
Built-in event type: client node disconnected.
Declaration
public static readonly int ClientNodeDisconnected
Field Value
Type | Description |
---|---|
System.Int32 |
ClientNodeReconnected
Built-in event type: client node reconnected.
Declaration
public static readonly int ClientNodeReconnected
Field Value
Type | Description |
---|---|
System.Int32 |
JobCancelled
Built-in event type: Ignite job cancelled.
Declaration
public static readonly int JobCancelled
Field Value
Type | Description |
---|---|
System.Int32 |
JobFailed
Built-in event type: Ignite job failed. Job has failed. This means that there was some error event during job execution and job did not produce a result.
Declaration
public static readonly int JobFailed
Field Value
Type | Description |
---|---|
System.Int32 |
JobFailedOver
Built-in event type: Ignite job failed over.
Declaration
public static readonly int JobFailedOver
Field Value
Type | Description |
---|---|
System.Int32 |
JobFinished
Built-in event type: Ignite job finished. Job has successfully completed and produced a result which from the user perspective can still be either negative or positive.
Declaration
public static readonly int JobFinished
Field Value
Type | Description |
---|---|
System.Int32 |
JobMapped
Built-in event type: Ignite job was mapped in {@link org.apache.ignite.compute.ComputeTask#map(List, Object)} method.
Declaration
public static readonly int JobMapped
Field Value
Type | Description |
---|---|
System.Int32 |
JobQueued
Built-in event type: Ignite job queued. Job arrived for execution and has been queued (added to passive queue during collision resolution).
Declaration
public static readonly int JobQueued
Field Value
Type | Description |
---|---|
System.Int32 |
JobRejected
Built-in event type: Ignite job rejected during collision resolution.
Declaration
public static readonly int JobRejected
Field Value
Type | Description |
---|---|
System.Int32 |
JobResulted
Built-in event type: Ignite job result was received by {@link org.apache.ignite.compute.ComputeTask#result(org.apache.ignite.compute.ComputeJobResult, List)} method.
Declaration
public static readonly int JobResulted
Field Value
Type | Description |
---|---|
System.Int32 |
JobStarted
Built-in event type: Ignite job started.
Declaration
public static readonly int JobStarted
Field Value
Type | Description |
---|---|
System.Int32 |
JobTimedout
Built-in event type: Ignite job timed out.
Declaration
public static readonly int JobTimedout
Field Value
Type | Description |
---|---|
System.Int32 |
NodeFailed
Built-in event type: node failed. Ignite detected that node has presumably crashed and is considered failed.
Declaration
public static readonly int NodeFailed
Field Value
Type | Description |
---|---|
System.Int32 |
NodeJoined
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.
Declaration
public static readonly int NodeJoined
Field Value
Type | Description |
---|---|
System.Int32 |
NodeLeft
Built-in event type: node has normally left topology.
Declaration
public static readonly int NodeLeft
Field Value
Type | Description |
---|---|
System.Int32 |
NodeMetricsUpdated
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).
Declaration
public static readonly int NodeMetricsUpdated
Field Value
Type | Description |
---|---|
System.Int32 |
NodeSegmented
Built-in event type: local node segmented. Generated when node determines that it runs in invalid network segment.
Declaration
public static readonly int NodeSegmented
Field Value
Type | Description |
---|---|
System.Int32 |
TaskFailed
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.
Declaration
public static readonly int TaskFailed
Field Value
Type | Description |
---|---|
System.Int32 |
TaskFinished
Built-in event type: task finished. Task got finished. This event is triggered every time a task finished without exception.
Declaration
public static readonly int TaskFinished
Field Value
Type | Description |
---|---|
System.Int32 |
TaskReduced
Built-in event type: task reduced.
Declaration
public static readonly int TaskReduced
Field Value
Type | Description |
---|---|
System.Int32 |
TaskSessionAttrSet
Built-in event type: task session attribute set.
Declaration
public static readonly int TaskSessionAttrSet
Field Value
Type | Description |
---|---|
System.Int32 |
TaskStarted
Built-in event type: task started.
Declaration
public static readonly int TaskStarted
Field Value
Type | Description |
---|---|
System.Int32 |
TaskTimedout
Built-in event type: task timed out.
Declaration
public static readonly int TaskTimedout
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
All
All Ignite events.
Declaration
public static ICollection<int> All { get; }
Property Value
Type | Description |
---|---|
ICollection<System.Int32> |
AllMinusMetricUpdate
All Ignite events (excluding metric update event).
Declaration
public static ICollection<int> AllMinusMetricUpdate { get; }
Property Value
Type | Description |
---|---|
ICollection<System.Int32> |
CacheAll
All cache events.
Declaration
public static ICollection<int> CacheAll { get; }
Property Value
Type | Description |
---|---|
ICollection<System.Int32> |
CacheLifecycleAll
All cache lifecycle events.
Declaration
public static ICollection<int> CacheLifecycleAll { get; }
Property Value
Type | Description |
---|---|
ICollection<System.Int32> |
CacheQueryAll
All cache query events.
Declaration
public static ICollection<int> CacheQueryAll { get; }
Property Value
Type | Description |
---|---|
ICollection<System.Int32> |
CacheRebalanceAll
All cache rebalance events.
Declaration
public static ICollection<int> CacheRebalanceAll { get; }
Property Value
Type | Description |
---|---|
ICollection<System.Int32> |
DiscoveryAll
All discovery events.
Declaration
public static ICollection<int> DiscoveryAll { get; }
Property Value
Type | Description |
---|---|
ICollection<System.Int32> |
DiscoveryAllMinusMetrics
All discovery events except for NodeMetricsUpdated. Subscription to NodeMetricsUpdated 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 Apache.Ignite.Core.Events.EventType.DiscoveryAll0 array.
Declaration
public static ICollection<int> DiscoveryAllMinusMetrics { get; }
Property Value
Type | Description |
---|---|
ICollection<System.Int32> |
ErrorAll
All events indicating an error or failure condition. It is convenient to use when fetching all events indicating error or failure.
Declaration
public static ICollection<int> ErrorAll { get; }
Property Value
Type | Description |
---|---|
ICollection<System.Int32> |
JobExecutionAll
All Ignite job execution events.
Declaration
public static ICollection<int> JobExecutionAll { get; }
Property Value
Type | Description |
---|---|
ICollection<System.Int32> |
TaskExecutionAll
All Ignite task execution events.
Declaration
public static ICollection<int> TaskExecutionAll { get; }
Property Value
Type | Description |
---|---|
ICollection<System.Int32> |