Class Win32PhysicalMemory
java.lang.Object
io.github.eggy03.ferrumx.windows.entity.memory.Win32PhysicalMemory
Immutable representation of a RAM module on a Windows system.
Fields correspond to properties retrieved from the Win32_PhysicalMemory WMI class.
Usage example
Win32PhysicalMemory ram = Win32PhysicalMemory.builder()
.capacity(16L * 1024 * 1024 * 1024)
.speed(3200)
.build();
// Create a modified copy
Win32PhysicalMemory upgraded = ram.toBuilder()
.speed(3600)
.build();
- Since:
- 3.0.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) @Nullable StringPhysically labeled bank where the memory is located.(package private) @Nullable BigIntegerTotal capacity of the physical memory—in bytes.(package private) @Nullable LongThe configured clock speed of the memory device, in MHz, or 0, if the speed is unknown.(package private) @Nullable IntegerData width of the physical memory—in bits.(package private) @Nullable StringLabel of the socket or circuit board that holds the memory.(package private) @Nullable IntegerImplementation form factor for the chip.(package private) @Nullable StringName of the organization responsible for producing the physical memory.(package private) @Nullable StringModel name for the physical element.(package private) @Nullable StringLabel for the Physical Memory.(package private) @Nullable StringAdditional data, beyond asset tag information, that can be used to identify a physical element.(package private) @Nullable StringPart number assigned by the organization responsible for producing or manufacturing the physical element.(package private) @Nullable StringManufacturer-allocated number to identify the physical element.(package private) @Nullable LongSpeed of the physical memory—in MHz.(package private) @Nullable StringUnique identifier for the physical memory device represented by an instance of this class. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
tag
Unique identifier for the physical memory device represented by an instance of this class. -
name
Label for the Physical Memory. -
manufacturer
Name of the organization responsible for producing the physical memory. -
model
Model name for the physical element. -
otherIdentifyingInfo
Additional data, beyond asset tag information, that can be used to identify a physical element. For example, bar code data associated with an element that also has an asset tag. -
partNumber
Part number assigned by the organization responsible for producing or manufacturing the physical element. -
formFactor
Implementation form factor for the chip.- 0 - Unknown
- 1 - Other
- 2 - SIP
- 3 - DIP
- 4 - ZIP
- 5 - SOJ
- 6 - Proprietary
- 7 - SIMM
- 8 - DIMM
- 9 - TSOP
- 10 - PGA
- 11 - RIMM
- 12 - SODIMM
- 13 - SRIMM
- 14 - SMD
- 15 - SSMP
- 16 - QFP
- 17 - TQFP
- 18 - SOIC
- 19 - LCC
- 20 - PLCC
- 21 - BGA
- 22 - FPBGA
- 23 - LGA
-
bankLabel
Physically labeled bank where the memory is located. -
capacity
Total capacity of the physical memory—in bytes. -
dataWidth
Data width of the physical memory—in bits. A data width of 0 (zero) and a total width of 8 (eight) indicates that the memory is used solely to provide error correction bits. -
speed
Speed of the physical memory—in MHz. -
configuredClockSpeed
The configured clock speed of the memory device, in MHz, or 0, if the speed is unknown. -
deviceLocator
Label of the socket or circuit board that holds the memory. -
serialNumber
Manufacturer-allocated number to identify the physical element.
-
-
Constructor Details
-
Win32PhysicalMemory
public Win32PhysicalMemory()
-
-
Method Details
-
toString
-