java.lang.Object
io.github.eggy03.ferrumx.windows.entity.processor.Processor

public class Processor extends Object
Immutable representation of a CPU device on a Windows system.

Fields correspond to properties retrieved from the Win32_Processor WMI class.

Instances are thread-safe and may be safely cached or shared across threads.

Usage examples


 // Build a new Processor instance
 Processor cpu = Processor.builder()
     .name("Intel Core i9-13900K")
     .numberOfCores(24)
     .threadCount(32)
     .maxClockSpeed(5300)
     .build();

 // Create a modified copy using the builder
 Processor updated = cpu.toBuilder()
     .threadCount(64)
     .build();
 
ProcessorCache for related cache information.
Since:
2.0.0
Author:
Egg-03
See Also:
  • Constructor Details

    • Processor

      public Processor()
  • Method Details