public abstract class AbstractHardwareLayer extends Object implements HardwareLayer
| Constructor and Description |
|---|
AbstractHardwareLayer() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ComputerSystem |
createComputerSystem() |
protected abstract GlobalMemory |
createMemory()
Instantiates the platform-specific
GlobalMemory object |
protected abstract CentralProcessor |
createProcessor()
Instantiates the platform-specific
CentralProcessor object |
protected abstract Sensors |
createSensors()
Instantiates the platform-specific
Sensors object |
ComputerSystem |
getComputerSystem()
Instantiates a
ComputerSystem object. |
GlobalMemory |
getMemory()
Instantiates a
GlobalMemory object. |
CentralProcessor |
getProcessor()
Instantiates a
CentralProcessor object. |
Sensors |
getSensors()
Instantiates a
Sensors object, representing CPU
temperature and fan speed |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDiskStores, getDisplays, getNetworkIFs, getPowerSources, getSoundCards, getUsbDevicespublic ComputerSystem getComputerSystem()
HardwareLayerComputerSystem object. This represents
the physical hardware, including components such as BIOS/Firmware and a
motherboard, logic board, etc.getComputerSystem in interface HardwareLayerComputerSystem object.protected abstract ComputerSystem createComputerSystem()
public CentralProcessor getProcessor()
HardwareLayerCentralProcessor object. This represents
one or more Logical CPUs.getProcessor in interface HardwareLayerCentralProcessor object.protected abstract CentralProcessor createProcessor()
CentralProcessor objectCentralProcessor objectpublic GlobalMemory getMemory()
HardwareLayerGlobalMemory object.getMemory in interface HardwareLayerprotected abstract GlobalMemory createMemory()
GlobalMemory objectGlobalMemory objectpublic Sensors getSensors()
HardwareLayerSensors object, representing CPU
temperature and fan speedgetSensors in interface HardwareLayerCopyright © 2019. All rights reserved.