com.sun.grid.jgdi.event
public class Event extends java.lang.Object implements java.io.Serializable
Constructor and Description |
---|
Event(EventType eventType,
long timestamp,
int eventId)
Create a new instance of event
|
Modifier and Type | Method and Description |
---|---|
int |
getEventId()
get the event id
|
long |
getTimestamp()
Timestamp when the event occured
|
EventType |
getType()
event type (add, del, mod)
|
java.lang.String |
toString() |
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 idpublic EventType getType()
public long getTimestamp()
public int getEventId()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007 Sun Microsystems, Inc. All rights reserved.