@Immutable public class BasicHardwareDetails extends java.lang.Object implements HardwareDetails
Constructor and Description |
---|
BasicHardwareDetails(java.lang.Integer cpuCount,
java.lang.Integer ram) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getCpuCount()
The number of CPUs on the machine
|
java.lang.Integer |
getRam()
Amount of RAM in megabytes
|
java.lang.String |
toString() |
public BasicHardwareDetails(java.lang.Integer cpuCount, java.lang.Integer ram)
public java.lang.Integer getCpuCount()
HardwareDetails
getCpuCount
in interface HardwareDetails
public java.lang.Integer getRam()
HardwareDetails
getRam
in interface HardwareDetails
public java.lang.String toString()
toString
in class java.lang.Object