|
||||||||||
| 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 String |
ANALYSIS
Constant for the ANALYSIS event type. |
static String |
ANALYSIS_ENGINE
Constant for the ANALYSIS_ENGINE event type. |
static String |
SERVICE
Constant for the SERVICE event type. |
static String |
SERVICE_CALL
Constant for the SERVICE_CALL event type. |
| Method Summary | |
|---|---|
String |
getComponentName()
Retrieves the name of the component that is performing this event. |
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. |
String |
getResultMessage()
Retrieves the result message of this event. |
List<ProcessTraceEvent> |
getSubEvents()
Gets the sub-events of this event. |
String |
getType()
Gets the type of event. |
String |
toString()
Generates a user-readable representation of this event and its sub-events. |
void |
toString(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(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 String ANALYSIS_ENGINE
static final String ANALYSIS
static final String SERVICE
static final String SERVICE_CALL
| Method Detail |
|---|
String getComponentName()
String getType()
String getDescription()
int getDuration()
String getResultMessage()
List<ProcessTraceEvent> getSubEvents()
ProcessTraceEvent objectsint getDurationExcludingSubEvents()
String toString()
toString in class Object
void toString(StringBuffer aBuf,
int aIndentLevel)
aBuf - string buffer to add toaIndentLevel - indentation level
void toString(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 | |||||||||