Class HostCpuHardwareConfiguration


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20200630")
    public final class HostCpuHardwareConfiguration
    extends HostConfigurationMetricGroup
    CPU Hardware Configuration metric for the host
    Note: Objects should always be created or deserialized using the HostCpuHardwareConfiguration.Builder.

    This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the HostCpuHardwareConfiguration.Builder, which maintain a set of all explicitly set fields called HostCpuHardwareConfiguration.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).

    • Method Detail

      • getTotalSockets

        public Integer getTotalSockets()
        Total number of CPU Sockets
        Returns:
        the value
      • getVendorName

        public String getVendorName()
        Name of the CPU vendor
        Returns:
        the value
      • getFrequencyInMhz

        public Double getFrequencyInMhz()
        Clock frequency of the processor in megahertz
        Returns:
        the value
      • getCacheInMB

        public Double getCacheInMB()
        Size of cache memory in megabytes
        Returns:
        the value
      • getCpuImplementation

        public String getCpuImplementation()
        Model name of processor
        Returns:
        the value
      • getModel

        public String getModel()
        CPU model
        Returns:
        the value
      • getCpuFamily

        public String getCpuFamily()
        Type of processor in the system
        Returns:
        the value
      • getCoresPerSocket

        public Integer getCoresPerSocket()
        Number of cores per socket
        Returns:
        the value
      • getThreadsPerSocket

        public Integer getThreadsPerSocket()
        Number of threads per socket
        Returns:
        the value
      • getHyperThreadingEnabled

        public String getHyperThreadingEnabled()
        Indicates if hyper-threading is enabled or not
        Returns:
        the value
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Overrides:
        toString in class HostConfigurationMetricGroup
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation