Package org.apache.storm.metric.cgroup

# Class CGroupCpuGuarantee

java.lang.Object
org.apache.storm.metric.cgroup.CGroupMetricsBase<Long>
org.apache.storm.metric.cgroup.CGroupCpuGuarantee

All Implemented Interfaces:
  `IMetric`

@Deprecated public class CGroupCpuGuarantee extends CGroupMetricsBase<Long>
Deprecated.
Report the guaranteed number of ms this worker has requested. It gets the result from cpu.shares. Use this when org.apache.storm.container.cgroup.CgroupManager is used as the storm.resource.isolation.plugin.

- ## Constructor Summary

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Long`
  `getDataFrom(CgroupCore core)`
  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

  - ### CGroupCpuGuarantee

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

- ## Method Details

  - ### getDataFrom

    public Long getDataFrom(CgroupCore core) throws IOException
    Deprecated.
    Specified by:
      `getDataFrom` in class `CGroupMetricsBase<Long>`
    Throws:
      `IOException`