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