java.lang.Object
com.telenav.kivakit.core.vm.ThreadSnapshot
Captures a snapshot of
ThreadStatus
for all running threads via the Java management API.- Author:
- jonathanl (shibo)
- See Also:
-
Constructor Details
-
ThreadSnapshot
public ThreadSnapshot()
-
-
Method Details
-
capturedAt
- Returns:
- The time at which this snapshot was captured
-
cpuTime
-
cpuTime
-
snapshot
- Returns:
- The status of all threads captured in the snapshot
-
totalCpuTime
- Returns:
- The total CPU time of all threads
-
update
- Returns:
- Updates this thread snapshot
-