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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods 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
-
-
-
-
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 classCGroupMetricsBase<Map<String,Long>>
- Throws:
IOException
-
-