Package oshi.driver.windows.perfmon
Class ThreadInformation
java.lang.Object
oshi.driver.windows.perfmon.ThreadInformation
@ThreadSafe public final class ThreadInformation extends java.lang.Object
Utility to query Thread Information performance counter
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThreadInformation.ThreadPerformancePropertyThread performance counters -
Method Summary
Modifier and Type Method Description static Pair<java.util.List<java.lang.String>,java.util.Map<ThreadInformation.ThreadPerformanceProperty,java.util.List<java.lang.Long>>>queryThreadCounters()Returns thread counters.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
queryThreadCounters
public static Pair<java.util.List<java.lang.String>,java.util.Map<ThreadInformation.ThreadPerformanceProperty,java.util.List<java.lang.Long>>> queryThreadCounters()Returns thread counters.- Returns:
- Thread counters for each thread.
-