|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IEvent
Interface for an event. An event consists of a start and end time, and a set values.
| Field Summary |
|---|
| Fields inherited from interface com.jrockit.mc.flightrecorder.spi.ITimeRange |
|---|
INFINITE_DURATION, INFINITE_RANGE, NEGATIVE_INFINITY, POSITIVE_INFINITY |
| Method Summary | |
|---|---|
int |
getBitField()
Return a bit field associated with the event. |
IEventType |
getEventType()
Returns the event type that holds meta data about the event. |
java.lang.Object |
getValue(java.lang.String identifier)
This is a convenience method for returning the event value for the event. |
void |
setBitField(int bitField)
Sets the bit field for the event. |
| Methods inherited from interface com.jrockit.mc.flightrecorder.spi.ITimeRange |
|---|
getDuration, getEndTimestamp, getStartTimestamp |
| Method Detail |
|---|
IEventType getEventType()
java.lang.Object getValue(java.lang.String identifier)
This is a convenience method for returning the event value for the event.
A more efficient access pattern is to look up the IField in the
IEventType and then extract the value using the field.
E.g.
IEventType myType = .... IField myField = myType.getField(identifier); Iteratoriterator = ... while(iterator.hasNext()) { System.out.println(myField.get(iterator.next()); }
identifier - the field identifier
int getBitField()
void setBitField(int bitField)
bitField - the bit field.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||