|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jrockit.mc.flightrecorder.provider.Field com.jrockit.mc.flightrecorder.provider.DurationField
public final class DurationField
Field that extract the duration from an event.
Field Summary | |
---|---|
static java.lang.String |
IDENTIFIER
The identifier for the field |
Constructor Summary | |
---|---|
DurationField(IEventType type)
Constructs a duration field that can return the duration of an event |
Method Summary | |
---|---|
java.lang.Object |
getValue(IEvent event)
Returns a field value for an event |
Methods inherited from class com.jrockit.mc.flightrecorder.provider.Field |
---|
equals, getContentType, getDescription, getEventTypePath, getIdentifier, getName, getPropertyKeys, getPropertyValue, getRelationalKey, getType, hashCode, isRelational, isSynthetic, isVisible, setContentType, setDescription, setFieldType, setName, setPath, setProperty, setRelationalKey, setSynthetic, setVisible |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String IDENTIFIER
Constructor Detail |
---|
public DurationField(IEventType type)
type
- the event typeMethod Detail |
---|
public java.lang.Object getValue(IEvent event)
IField
getValue
in interface IField
getValue
in class Field
event
- the event
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |