Class Win32ProcessCachedFFM
java.lang.Object
oshi.driver.windows.wmi.Win32ProcessCachedFFM
Utility to query WMI class
Win32_Process using cache (FFM).-
Method Summary
Modifier and TypeMethodDescriptiongetCommandLine(int processId, long startTime) Gets the process command line, while also querying and caching command lines for all running processes if the specified process is not in the cache.static Win32ProcessCachedFFMGet the singleton instance of this class.
-
Method Details
-
getInstance
Get the singleton instance of this class.- Returns:
- the singleton instance
-
getCommandLine
Gets the process command line, while also querying and caching command lines for all running processes if the specified process is not in the cache.- Parameters:
processId- The process ID for which to return the command line.startTime- The start time of the process, in milliseconds since the 1970 epoch.- Returns:
- The command line of the specified process.
-