java.lang.Object
oshi.hardware.common.AbstractGlobalMemory
- All Implemented Interfaces:
GlobalMemory
- Direct Known Subclasses:
LinuxGlobalMemory
Memory info.
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface oshi.hardware.GlobalMemory
getAvailable, getPageSize, getTotal, getVirtualMemory
-
Constructor Details
-
AbstractGlobalMemory
public AbstractGlobalMemory()
-
-
Method Details
-
getPhysicalMemory
Description copied from interface:GlobalMemory
Physical memory, such as banks of memory.On Linux, requires elevated permissions. On FreeBSD and Solaris, requires installation of dmidecode.
- Specified by:
getPhysicalMemory
in interfaceGlobalMemory
- Returns:
- A list of PhysicalMemory objects.
-
toString
-