Package oshi.driver.windows.wmi
Class MSAcpiThermalZoneTemperature
- java.lang.Object
-
- oshi.driver.windows.wmi.MSAcpiThermalZoneTemperature
-
@ThreadSafe public final class MSAcpiThermalZoneTemperature extends java.lang.Object
Utility to query WMI classMSAcpi_ThermalZoneTemperature
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MSAcpiThermalZoneTemperature.TemperatureProperty
Current temperature property.
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
MS_ACPI_THERMAL_ZONE_TEMPERATURE
static java.lang.String
WMI_NAMESPACE
-
Constructor Summary
Constructors Modifier Constructor Description private
MSAcpiThermalZoneTemperature()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<MSAcpiThermalZoneTemperature.TemperatureProperty>
queryCurrentTemperature()
Queries the current temperature
-
-
-
Field Detail
-
WMI_NAMESPACE
public static final java.lang.String WMI_NAMESPACE
- See Also:
- Constant Field Values
-
MS_ACPI_THERMAL_ZONE_TEMPERATURE
private static final java.lang.String MS_ACPI_THERMAL_ZONE_TEMPERATURE
- See Also:
- Constant Field Values
-
-
Method Detail
-
queryCurrentTemperature
public static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<MSAcpiThermalZoneTemperature.TemperatureProperty> queryCurrentTemperature()
Queries the current temperature- Returns:
- Temperature at thermal zone in tenths of degrees Kelvin.
-
-