Class LinuxHardwareAbstractionLayerJNA

java.lang.Object
oshi.hardware.common.AbstractHardwareAbstractionLayer
oshi.hardware.common.platform.linux.LinuxHardwareAbstractionLayer
oshi.hardware.platform.linux.LinuxHardwareAbstractionLayerJNA
All Implemented Interfaces:
oshi.hardware.HardwareAbstractionLayer

@ThreadSafe public final class LinuxHardwareAbstractionLayerJNA extends oshi.hardware.common.platform.linux.LinuxHardwareAbstractionLayer
JNA-based Linux hardware abstraction layer. Extends LinuxHardwareAbstractionLayer, overriding methods as FFM equivalents are migrated to LinuxHardwareAbstractionLayerFFM.
  • Constructor Details

    • LinuxHardwareAbstractionLayerJNA

      public LinuxHardwareAbstractionLayerJNA()
  • Method Details

    • createMemory

      public oshi.hardware.GlobalMemory createMemory()
      Specified by:
      createMemory in class oshi.hardware.common.platform.linux.LinuxHardwareAbstractionLayer
    • createProcessor

      public oshi.hardware.CentralProcessor createProcessor()
      Specified by:
      createProcessor in class oshi.hardware.common.platform.linux.LinuxHardwareAbstractionLayer
    • getLogicalVolumeGroups

      public List<oshi.hardware.LogicalVolumeGroup> getLogicalVolumeGroups()
    • getNetworkIFs

      public List<oshi.hardware.NetworkIF> getNetworkIFs(boolean includeLocalInterfaces)
    • getDiskStores

      public List<oshi.hardware.HWDiskStore> getDiskStores()
    • getUsbDevices

      public List<oshi.hardware.UsbDevice> getUsbDevices(boolean tree)
    • getGraphicsCards

      public List<oshi.hardware.GraphicsCard> getGraphicsCards()
      Specified by:
      getGraphicsCards in interface oshi.hardware.HardwareAbstractionLayer
      Specified by:
      getGraphicsCards in class oshi.hardware.common.platform.linux.LinuxHardwareAbstractionLayer
    • getPrinters

      public List<oshi.hardware.Printer> getPrinters()
    • getPowerSources

      public List<oshi.hardware.PowerSource> getPowerSources()