Package org.apache.storm.metrics2.cgroup
Class CGroupMemoryUsage
- java.lang.Object
-
- org.apache.storm.metrics2.cgroup.CGroupMetricsBase
-
- org.apache.storm.metrics2.cgroup.CGroupMemoryUsage
-
- All Implemented Interfaces:
WorkerMetricRegistrant
public class CGroupMemoryUsage extends CGroupMetricsBase implements WorkerMetricRegistrant
Reports the current memory usage of the cgroup for this worker.
-
-
Field Summary
-
Fields inherited from class org.apache.storm.metrics2.cgroup.CGroupMetricsBase
core, enabled
-
-
Constructor Summary
Constructors Constructor Description CGroupMemoryUsage(Map<String,Object> conf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
registerMetrics(TopologyContext topologyContext)
-
-
-
Method Detail
-
registerMetrics
public void registerMetrics(TopologyContext topologyContext)
- Specified by:
registerMetrics
in interfaceWorkerMetricRegistrant
-
-