Package 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 public class CGroupCpu extends CGroupMetricsBase<Map<String,Long>>
Deprecated.
Report CPU used in the cgroup.

- ## Constructor Summary

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

- ## Method Summary

  Modifier and Type
  Method
  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`

  ### Methods inherited from interface org.apache.storm.metric.api.IMetric

  `getDimensions`

- ## Constructor Details

  - ### CGroupCpu

    public CGroupCpu(Map<String,Object> conf)
    Deprecated.

- ## Method Details

  - ### 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`