|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.grid.jgdi.event.Event
public class Event
Base class for all events
| Constructor Summary | |
|---|---|
Event(EventType eventType,
long timestamp,
int eventId)
Create a new instance of event |
|
| Method Summary | |
|---|---|
int |
getEventId()
get the event id |
long |
getTimestamp()
Timestamp when the event occured |
EventType |
getType()
event type (add, del, mod) |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Event(EventType eventType,
long timestamp,
int eventId)
eventType - event type (SGE_EMA_LIST, SGE_EMA_ADD, SGE_EMA_MOD,
SGE_EMA_DEL or SGE_EMA_TRIGGER )timestamp - timestamp when the event occurecteventId - unique event id| Method Detail |
|---|
public EventType getType()
public long getTimestamp()
public int getEventId()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||