public interface ProcessTraceEvent
extends java.io.Serializable
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 levelvoid 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.Copyright © 2006–2014 The Apache Software Foundation. All rights reserved.