@Deprecated public class CGroupCpu extends CGroupMetricsBase<Map<String,Long>>
Report CPU used in the cgroup.
| Constructor and Description |
|---|
CGroupCpu(Map<String,Object> conf)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Long> |
getDataFrom(CgroupCore core)
Deprecated.
|
int |
getUserHZ()
Deprecated.
|
getValueAndResetpublic int getUserHZ()
throws IOException
IOExceptionpublic Map<String,Long> getDataFrom(CgroupCore core) throws IOException
getDataFrom in class CGroupMetricsBase<Map<String,Long>>IOExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.