@Deprecated public class CGroupCpuGuaranteeByCfsQuota extends CGroupMetricsBase<Long>
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 and Description |
|---|
CGroupCpuGuaranteeByCfsQuota(Map<String,Object> conf)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getDataFrom(CgroupCore core)
Deprecated.
|
getValueAndResetpublic Long getDataFrom(CgroupCore core) throws IOException
getDataFrom in class CGroupMetricsBase<Long>IOExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.