public class ThreadTrace extends Object
This also tracks operations which runs in the same thread or another thread, up to one level. Mmeaning if an main thread uses threadA, that is tracked. But if threadA uses threadB, it is not tracked. This case can be added if required.
NOTE: Do not directly use this class. Use the factory methods in ThreadOperation
. This
class is for internal use and the API signatures can change.
Constructor and Description |
---|
ThreadTrace(String trackingId) |
Modifier and Type | Method and Description |
---|---|
void |
annotate(String key,
Object value) |
String |
getTrackingId() |
String |
toString() |
Copyright © 2024. All rights reserved.