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.
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
-
Method Summary
Methods inherited from class org.apache.storm.metric.cgroup.CGroupMetricsBase
getValueAndReset
-
Constructor Details
-
CGroupCpuGuarantee
Deprecated.
-
-
Method Details
-
getDataFrom
Deprecated.- Specified by:
getDataFrom
in classCGroupMetricsBase<Long>
- Throws:
IOException
-