Class AbstractDMIProcessor
java.lang.Object
io.github.eggy03.dmidecode.entity.processor.AbstractDMIProcessor
- Direct Known Subclasses:
DMIProcessor,DMIProcessor.Json
Immutable representation of processor information retrieved via DMI.
Fields correspond to properties reported by dmidecode for the Processor
Information (Type 4) SMBIOS structure.
Instances of this class are thread-safe.
Usage example
DMIProcessor processor = new DMIProcessor.Builder()
.socketDesignation("CPU0")
.manufacturer("Intel")
.version("Intel(R) Core(TM) i7-12700H")
.coreCount(14)
.threadCount(20)
.currentSpeed("2700 MHz")
.build();
// Create a modified copy
DMIProcessor updated = processor
.withCurrentSpeed("3900 MHz");
- Since:
- 0.2.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract @Nullable StringassetTag()abstract @Nullable Integerabstract @Nullable Integerabstract @Nullable Stringabstract @Nullable Stringabstract @Nullable Stringfamily()flags()abstract @Nullable Stringid()abstract @Nullable Stringabstract @Nullable Stringabstract @Nullable Stringabstract @Nullable Stringabstract @Nullable StringmaxSpeed()abstract @Nullable Stringabstract @Nullable Stringabstract @Nullable Stringabstract @Nullable Stringabstract @Nullable Stringstatus()abstract @Nullable IntegertoString()abstract @Nullable Stringtype()abstract @Nullable Stringupgrade()abstract @Nullable Stringversion()abstract @Nullable Stringvoltage()
-
Constructor Details
-
AbstractDMIProcessor
public AbstractDMIProcessor()
-
-
Method Details