Interface CPUUtilization.Builder

  • Method Details

    • 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

      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

      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

      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

      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

      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.