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 public class CGroupCpuGuaranteeByCfsQuota extends CGroupMetricsBase<Long>
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
Constructors Constructor Description CGroupCpuGuaranteeByCfsQuota(Map<String,Object> conf)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods 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
-
-
-
-
Method Detail
-
getDataFrom
public Long getDataFrom(CgroupCore core) throws IOException
Deprecated.- Specified by:
getDataFrom
in classCGroupMetricsBase<Long>
- Throws:
IOException
-
-