Class PhysicalMemory
java.lang.Object
io.github.eggy03.ferrumx.windows.entity.memory.PhysicalMemory
Immutable representation of a RAM module on a Windows system.
Fields correspond to properties retrieved from the Win32_PhysicalMemory
WMI class.
Instances are inherently thread-safe and may be safely cached or shared across threads.
Usage example
PhysicalMemory ram = PhysicalMemory.builder()
.capacity(16L * 1024 * 1024 * 1024)
.speed(3200)
.build();
// Create a modified copy
PhysicalMemory upgraded = ram.toBuilder()
.speed(3600)
.build();
- Since:
- 2.0.0
- Author:
- Egg-03
- See Also:
-
Constructor Summary
Constructors -
Method Summary