Interface CPUUtilization.Builder

    • Method Detail

      • user

        CPUUtilization.Builder user​(Double user)

        Percentage of time that the CPU has spent in the User state over the last 10 seconds.

        Parameters:
        user - Percentage of time that the CPU has spent in the User state over the last 10 seconds.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nice

        CPUUtilization.Builder nice​(Double nice)

        Available on Linux environments only.

        Percentage of time that the CPU has spent in the Nice state over the last 10 seconds.

        Parameters:
        nice - Available on Linux environments only.

        Percentage of time that the CPU has spent in the Nice state over the last 10 seconds.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • system

        CPUUtilization.Builder system​(Double system)

        Available on Linux environments only.

        Percentage of time that the CPU has spent in the System state over the last 10 seconds.

        Parameters:
        system - Available on Linux environments only.

        Percentage of time that the CPU has spent in the System state over the last 10 seconds.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • idle

        CPUUtilization.Builder idle​(Double idle)

        Percentage of time that the CPU has spent in the Idle state over the last 10 seconds.

        Parameters:
        idle - Percentage of time that the CPU has spent in the Idle state over the last 10 seconds.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ioWait

        CPUUtilization.Builder ioWait​(Double ioWait)

        Available on Linux environments only.

        Percentage of time that the CPU has spent in the I/O Wait state over the last 10 seconds.

        Parameters:
        ioWait - Available on Linux environments only.

        Percentage of time that the CPU has spent in the I/O Wait state over the last 10 seconds.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • irq

        CPUUtilization.Builder irq​(Double irq)

        Available on Linux environments only.

        Percentage of time that the CPU has spent in the IRQ state over the last 10 seconds.

        Parameters:
        irq - Available on Linux environments only.

        Percentage of time that the CPU has spent in the IRQ state over the last 10 seconds.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • softIRQ

        CPUUtilization.Builder softIRQ​(Double softIRQ)

        Available on Linux environments only.

        Percentage of time that the CPU has spent in the SoftIRQ state over the last 10 seconds.

        Parameters:
        softIRQ - Available on Linux environments only.

        Percentage of time that the CPU has spent in the SoftIRQ state over the last 10 seconds.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • privileged

        CPUUtilization.Builder privileged​(Double privileged)

        Available on Windows environments only.

        Percentage of time that the CPU has spent in the Privileged state over the last 10 seconds.

        Parameters:
        privileged - Available on Windows environments only.

        Percentage of time that the CPU has spent in the Privileged state over the last 10 seconds.

        Returns:
        Returns a reference to this object so that method calls can be chained together.