public interface ProcessTraceEvent extends Serializable
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
static final String ANALYSIS_ENGINE
static final String ANALYSIS
static final String SERVICE
static final String SERVICE_CALL
String getComponentName()
String getType()
String getDescription()
int getDuration()
String getResultMessage()
List<ProcessTraceEvent> getSubEvents()
ProcessTraceEvent
objectsint getDurationExcludingSubEvents()
String toString()
void toString(StringBuffer aBuf, int aIndentLevel)
aBuf
- string buffer to add toaIndentLevel
- indentation levelvoid 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.Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.