Package oshi.driver.windows.wmi
Class Win32Fan
- java.lang.Object
-
- oshi.driver.windows.wmi.Win32Fan
-
@ThreadSafe public final class Win32Fan extends java.lang.Object
Utility to query WMI classWin32_Fan
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Win32Fan.SpeedProperty
Fan speed property.
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
WIN32_FAN
-
Constructor Summary
Constructors Modifier Constructor Description private
Win32Fan()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<Win32Fan.SpeedProperty>
querySpeed()
Queries the fan speed.
-
-
-
Field Detail
-
WIN32_FAN
private static final java.lang.String WIN32_FAN
- See Also:
- Constant Field Values
-
-
Method Detail
-
querySpeed
public static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<Win32Fan.SpeedProperty> querySpeed()
Queries the fan speed.- Returns:
- Currently requested fan speed, defined in revolutions per minute, when a variable speed fan is supported.
-
-