- All Known Implementing Classes:
TraceThread
public interface TraceThread
-
Method Summary
Modifier and TypeMethodDescriptionlong
-
Method Details
-
getChronologicalTracePointIterator
Iterator getChronologicalTracePointIterator()- Returns:
- a TracePoint Iterator that can be used to walk each TracePoint on the current TraceThread in chronological order. Note that the Iterator consumes data as it walks, and as such each TraceThread can be Iterated over once only. Subsequent attempts to Iterate will return an empty Iterator, as will an attempt to iterate over an unpopulated TraceThread.
-
getThreadName
String getThreadName()- Returns:
- The name of the TraceThread, or null if the Thread was unnamed.
-
getThreadID
long getThreadID()- Returns:
- the ID of the thread that generated the current TraceThread's data.
-