public class SolarisHardwareAbstractionLayer extends AbstractHardwareAbstractionLayer
computerSystem, memory, processor, sensors
Constructor and Description |
---|
SolarisHardwareAbstractionLayer() |
Modifier and Type | Method and Description |
---|---|
ComputerSystem |
getComputerSystem()
Instantiates a
ComputerSystem object. |
HWDiskStore[] |
getDiskStores()
Instantiates an array of
HWDiskStore objects, representing a physical
hard disk or other similar storage device |
Display[] |
getDisplays()
Instantiates an array of
Display objects, representing monitors or
other video output devices. |
GlobalMemory |
getMemory()
Instantiates a
GlobalMemory object. |
NetworkIF[] |
getNetworkIFs()
Instantiates an array of
NetworkIF objects, representing a network
interface |
PowerSource[] |
getPowerSources()
Instantiates an array of
PowerSource objects, representing batteries,
etc. |
CentralProcessor |
getProcessor()
Instantiates a
CentralProcessor object. |
Sensors |
getSensors()
Instantiates a
Sensors object, representing CPU temperature and fan
speed |
SoundCard[] |
getSoundCards()
Instantiates an array of
SoundCard objects, representing the Sound
cards. |
UsbDevice[] |
getUsbDevices(boolean tree)
Instantiates an array of
UsbDevice objects, representing devices
connected via a usb port (including internal devices). |
public ComputerSystem getComputerSystem()
ComputerSystem
object. This represents the physical
hardware, including components such as BIOS/Firmware and a motherboard, logic
board, etc.ComputerSystem
object.public GlobalMemory getMemory()
GlobalMemory
object.public CentralProcessor getProcessor()
CentralProcessor
object. This represents one or more
Logical CPUs.CentralProcessor
object.public PowerSource[] getPowerSources()
PowerSource
objects, representing batteries,
etc.public HWDiskStore[] getDiskStores()
HWDiskStore
objects, representing a physical
hard disk or other similar storage devicepublic Display[] getDisplays()
Display
objects, representing monitors or
other video output devices.public Sensors getSensors()
Sensors
object, representing CPU temperature and fan
speedpublic NetworkIF[] getNetworkIFs()
NetworkIF
objects, representing a network
interfacepublic UsbDevice[] getUsbDevices(boolean tree)
UsbDevice
objects, representing devices
connected via a usb port (including internal devices).
If the value of tree is true, the top level devices returned from this method
are the USB Controllers; connected hubs and devices in its device tree share
that controller's bandwidth. If the value of tree is false, USB devices (not
controllers) are listed in a single flat array.tree
- WHether to display devices in a nested tree format from their
controllerspublic SoundCard[] getSoundCards()
HardwareAbstractionLayer
SoundCard
objects, representing the Sound
cards.Copyright © 2010–2021 oshi. All rights reserved.