Package org.apache.storm.metric.cgroup
Class CGroupCpuGuaranteeByCfsQuota
java.lang.Object
org.apache.storm.metric.cgroup.CGroupMetricsBase<Long>
org.apache.storm.metric.cgroup.CGroupCpuGuaranteeByCfsQuota
- All Implemented Interfaces:
IMetric
Deprecated.
Report the guaranteed number of ms this worker has requested.
It gets the result from cpu.cfs_period_us and cpu.cfs_quota_us.
Use this when org.apache.storm.container.docker.DockerManager is used as the storm.resource.isolation.plugin.
-
Constructor Summary
-
Method Summary
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
-
CGroupCpuGuaranteeByCfsQuota
Deprecated.
-
-
Method Details
-
getDataFrom
Deprecated.- Specified by:
getDataFrom
in classCGroupMetricsBase<Long>
- Throws:
IOException
-