|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.e2etrace.formatter.AbstractTraceFormatter
org.e2etrace.formatter.CSVTraceFormatter
public class CSVTraceFormatter
CSV trace formatter.
This formatter generates a CSV stream from the data of a trace tree to stdout. The format of the CSV stream is as follows:
trace id, trace path, threadname, duration, isolated durationThe column
trace path contains chained ids that represent the trace path.
The IDs will be separated by dots. Example: The Id
$Session.step1.step2 will be generated for a trace step with
id step2 that is a child of step1 and is
executed in the context of trace session $Session.
| Constructor Summary | |
|---|---|
CSVTraceFormatter()
Default constructor. |
|
| Method Summary | |
|---|---|
protected String |
formatSingleStep(ITraceStep step,
int level)
CALL-BACK: Generate formatted output for a single trace step. |
protected void |
writeFooter(ITraceSession session,
Writer toWriter)
CALL-BACK: Write the footer of the trace output. |
protected void |
writeHeader(ITraceSession session,
Writer toWriter)
CALL-BACK: Write the header of the trace output. |
| Methods inherited from class org.e2etrace.formatter.AbstractTraceFormatter |
|---|
format, getNewLine, writeSteps |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CSVTraceFormatter()
| Method Detail |
|---|
protected String formatSingleStep(ITraceStep step,
int level)
formatSingleStep in class AbstractTraceFormatterstep - trace steplevel - current call level (starting with 0)
protected void writeFooter(ITraceSession session,
Writer toWriter)
writeFooter in class AbstractTraceFormattersession - trace sessiontoWriter - output writer
protected void writeHeader(ITraceSession session,
Writer toWriter)
throws IOException
writeHeader in class AbstractTraceFormattersession - trace sessiontoWriter - output writer
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||