org.apache.storm.metric.cgroup

## Class CGroupCpu

- java.lang.Object
- - org.apache.storm.metric.cgroup.CGroupMetricsBase<Map<String,Long>>
  - - org.apache.storm.metric.cgroup.CGroupCpu

- All Implemented Interfaces:
    IMetric

  Deprecated.

      @Deprecated
      public class CGroupCpu
      extends CGroupMetricsBase<Map<String,Long>>

  Report CPU used in the cgroup.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CGroupCpu(Map<String,Object> conf)` Deprecated.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,Long>` | `getDataFrom(CgroupCore core)` Deprecated.
    `int` | `getUserHZ()` Deprecated.

    - ### Methods inherited from class org.apache.storm.metric.cgroup.CGroupMetricsBase

      `getValueAndReset`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CGroupCpu

          public CGroupCpu(Map<String,Object> conf)

      Deprecated.

  - ### Method Detail

    - #### getUserHZ

          public int getUserHZ()
                        throws IOException

      Deprecated.
      Throws:
        `IOException`

    - #### getDataFrom

          public Map<String,Long> getDataFrom(CgroupCore core)
                                       throws IOException

      Deprecated.
      Specified by:
        `getDataFrom` in class `CGroupMetricsBase<Map<String,Long>>`
      Throws:
        `IOException`

Copyright © 2021 The Apache Software Foundation. All rights reserved.