Package org.apache.storm.metric.cgroup
Class CGroupMemoryUsage
- java.lang.Object
-
- org.apache.storm.metric.cgroup.CGroupMetricsBase<Long>
-
- org.apache.storm.metric.cgroup.CGroupMemoryUsage
-
- All Implemented Interfaces:
IMetric
@Deprecated public class CGroupMemoryUsage extends CGroupMetricsBase<Long>
Deprecated.Reports the current memory usage of the cgroup for this worker.
-
-
Constructor Summary
Constructors Constructor Description CGroupMemoryUsage(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 Exception
Deprecated.- Specified by:
getDataFrom
in classCGroupMetricsBase<Long>
- Throws:
Exception
-
-