Class Win32FanJNA
java.lang.Object
oshi.driver.common.windows.wmi.Win32Fan
oshi.driver.windows.wmi.Win32FanJNA
@ThreadSafe
public final class Win32FanJNA
extends oshi.driver.common.windows.wmi.Win32Fan
Utility to query WMI class
Win32_Fan using JNA.-
Nested Class Summary
Nested classes/interfaces inherited from class oshi.driver.common.windows.wmi.Win32Fan
oshi.driver.common.windows.wmi.Win32Fan.SpeedProperty -
Field Summary
Fields inherited from class oshi.driver.common.windows.wmi.Win32Fan
WIN32_FAN -
Method Summary
Modifier and TypeMethodDescriptionstatic WbemcliUtil.WmiResult<oshi.driver.common.windows.wmi.Win32Fan.SpeedProperty> Queries the fan speed.
-
Method Details
-
querySpeed
public static WbemcliUtil.WmiResult<oshi.driver.common.windows.wmi.Win32Fan.SpeedProperty> querySpeed()Queries the fan speed.- Returns:
- Currently requested fan speed, defined in revolutions per minute, when a variable speed fan is supported.
-