Class WindowsGlobalMemory
java.lang.Object
oshi.hardware.common.AbstractGlobalMemory
oshi.hardware.common.platform.windows.WindowsGlobalMemory
- All Implemented Interfaces:
GlobalMemory
Common Windows global memory logic shared between JNA and FFM implementations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static StringmemoryType(int type) memoryType.protected static StringsmBiosMemoryType(int type) smBiosMemoryType.Methods inherited from class AbstractGlobalMemory
getPhysicalMemory, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface GlobalMemory
getAvailable, getPageSize, getTotal, getVirtualMemoryModifier and TypeMethodDescriptionlongThe amount of physical memory currently available, in bytes.longThe number of bytes in a memory pagelonggetTotal()The amount of actual physical memory, in bytes.Virtual memory, such as a swap file.
-
Constructor Details
-
WindowsGlobalMemory
protected WindowsGlobalMemory()Default constructor.
-
-
Method Details
-
memoryType
memoryType.- Parameters:
type- the type- Returns:
- the result
-
smBiosMemoryType
smBiosMemoryType.- Parameters:
type- the type- Returns:
- the result
-