|
GridGain 2.0.3
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Apache20LicenseCompatible public interface GridEvent
Grid events are used for notification about what happens within grid. Note that by
design GridGain keeps all events generated on the local node locally and it provides
APIs for performing a distributed queries across multiple nodes.
See Grid.queryEvents(GridEventFilter, Collection, long) and
Grid.queryLocalEvents(GridEventFilter) for information on how to query events
within grid.
You can also subscribe for local node event notifications through
Grid.addLocalEventListener(GridLocalEventListener) method.
Note that most of the properties of the event are optional. Only the following properties are always set and are not null:
Documentation
Email Support
Online Forums
Issue Tracking
Author: 2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.0.3

| Method Summary | |
|---|---|
String |
getCheckpointKey()
Gets checkpoint key associated with this event. |
UUID |
getEventNodeId()
Gets ID of the node related to this event, e.g. if node joined or left topology this method will return ID of that node. |
UUID |
getJobId()
Gets job ID, possibly null if event is not job related. |
UUID |
getLocalNodeId()
Gets event local node ID, i.e. the ID of the node where event was recorded. |
String |
getMessage()
Gets message associated with this event. |
String |
getTaskName()
Gets name of the task that triggered the event. |
UUID |
getTaskSessionId()
Gets session ID of the task that triggered the event. |
long |
getTimestamp()
Gets event timestamp. |
GridEventType |
getType()
Gets grid event type. |
| Method Detail |
|---|
GridEventType getType()
UUID getLocalNodeId()
GridEvent.getEventNodeId() method.
GridEvent.getEventNodeId()UUID getEventNodeId()
GridEvent.getLocalNodeId() method.
GridEvent.getLocalNodeId()String getCheckpointKey()
String getTaskName()
UUID getTaskSessionId()
UUID getJobId()
String getMessage()
long getTimestamp()
|
GridGain 2.0.3
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
|
GridGain - Grid Computing Made Simple, ver. 2.0.3.20052008
2005-2008 Copyright © GridGain Systems. All Rights Reserved. |
|