| Constructor and Description |
|---|
NoopTracer() |
| 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
|
public void addPoint(String annotation)
Tracerpublic void startBlock(String blockName, String annotation)
TracerstartBlock in interface TracerblockName - the name for the added tracing blockannotation - message associated with the start point of the blockpublic void addPointToBlock(String blockName, String annotation)
TraceraddPointToBlock in interface TracerblockName - the name for the tracing block to add point toannotation - message associated with the added point to the blockpublic void endBlock(String blockName, String annotation)
Tracerpublic void endTrace(String annotation)
Tracerpublic String getTracerId()
getTracerId in interface TracerCopyright © 2012–2022. All rights reserved.