|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProcessTraceEvent
Captures information, including timing, about an event that occurred during processing. Events may have sub-events that further break down the steps involved in a complex process.
| Field Summary | |
|---|---|
static java.lang.String |
ANALYSIS
Constant for the ANALYSIS event type. |
static java.lang.String |
ANALYSIS_ENGINE
Constant for the ANALYSIS_ENGINE event type. |
static java.lang.String |
SERVICE
Constant for the SERVICE event type. |
static java.lang.String |
SERVICE_CALL
Constant for the SERVICE_CALL event type. |
| Method Summary | |
|---|---|
java.lang.String |
getComponentName()
Retrieves the name of the component that is performing this event. |
java.lang.String |
getDescription()
Retrieves the description of this event. |
int |
getDuration()
Gets the duration of this event. |
int |
getDurationExcludingSubEvents()
Gets the duration of this event, minus the sum of the durations of its direct sub-events. |
java.lang.String |
getResultMessage()
Retrieves the result message of this event. |
java.util.List<ProcessTraceEvent> |
getSubEvents()
Gets the sub-events of this event. |
java.lang.String |
getType()
Gets the type of event. |
java.lang.String |
toString()
Generates a user-readable representation of this event and its sub-events. |
void |
toString(java.lang.StringBuffer aBuf,
int aIndentLevel)
Generates a user-readable representation of this event and its subevents, using the given indentation level and writing to a StringBuffer. |
void |
toString(java.lang.StringBuffer aBuf,
int aIndentLevel,
int aTotalTime)
Generates a user-readable representation of this event and its subevents, using the given indentation level and writing to a StringBuffer. |
| Field Detail |
|---|
static final java.lang.String ANALYSIS_ENGINE
static final java.lang.String ANALYSIS
static final java.lang.String SERVICE
static final java.lang.String SERVICE_CALL
| Method Detail |
|---|
java.lang.String getComponentName()
java.lang.String getType()
java.lang.String getDescription()
int getDuration()
java.lang.String getResultMessage()
java.util.List<ProcessTraceEvent> getSubEvents()
ProcessTraceEvent objectsint getDurationExcludingSubEvents()
java.lang.String toString()
toString in class java.lang.Object
void toString(java.lang.StringBuffer aBuf,
int aIndentLevel)
aBuf - string buffer to add toaIndentLevel - indentation level
void toString(java.lang.StringBuffer aBuf,
int aIndentLevel,
int aTotalTime)
aBuf - string buffer to add toaIndentLevel - indentation levelaTotalTime - total time, used to calculate percentags. If not known, pass 0.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||