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