public interface Tracer
| Modifier and Type | Method and Description |
|---|---|
void |
addPoint(String annotation)
Add a single trace point with current time to the main block
|
void |
addPointToBlock(String blockName,
String annotation)
Add a trace point with current time to the specified block
|
void |
endBlock(String blockName,
String annotation)
End the specified block
|
void |
endTrace(String annotation)
End the entire trace
|
String |
getTracerId() |
void |
startBlock(String blockName,
String annotation)
Add a new block starting at current time to the trace
|
void addPoint(String annotation)
annotation - message associated with the trace pointvoid startBlock(String blockName, String annotation)
blockName - the name for the added tracing blockannotation - message associated with the start point of the blockvoid addPointToBlock(String blockName, String annotation)
blockName - the name for the tracing block to add point toannotation - message associated with the added point to the blockvoid endBlock(String blockName, String annotation)
blockName - the name for the tracing block to endannotation - message associated with the end point of the blockvoid endTrace(String annotation)
annotation - message associated with the end point of the traceString getTracerId()
Copyright © 2012–2022. All rights reserved.