public interface Event
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
Attr |
getAttr(int idx)
Returns the attribute for the given index
|
Attr |
getAttr(java.lang.String name)
Returns the attribute for the given attribute name
|
int |
getNoAttributes() |
long |
getTime() |
boolean |
isHeartbeat() |
void |
setTime(long ts)
Sets the timestamp
|
int getNoAttributes()
long getTime()
void setTime(long ts)
ts - - timestamp in nanosecondsboolean isHeartbeat()
Attr getAttr(int idx)
idx - - the index defined in the event specAttr getAttr(java.lang.String name)
name - - the attribute name