Package oshi.driver.windows.registry
Class ProcessWtsData
java.lang.Object
oshi.driver.windows.registry.ProcessWtsData
@ThreadSafe public final class ProcessWtsData extends java.lang.Object
Utility to read process data from HKEY_PERFORMANCE_DATA information with
backup from Performance Counters or WMI
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProcessWtsData.WtsInfo
Class to encapsulate data from WTS Process Info -
Method Summary
Modifier and Type Method Description static java.util.Map<java.lang.Integer,ProcessWtsData.WtsInfo>
queryProcessWtsMap(java.util.Collection<java.lang.Integer> pids)
Query the registry for process performance counters
-
Method Details
-
queryProcessWtsMap
public static java.util.Map<java.lang.Integer,ProcessWtsData.WtsInfo> queryProcessWtsMap(java.util.Collection<java.lang.Integer> pids)Query the registry for process performance counters- Parameters:
pids
- An optional collection of process IDs to filter the list to. May be null for no filtering.- Returns:
- A map with Process ID as the key and a
ProcessWtsData.WtsInfo
object populated with data.
-