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

      public class CGroupMemoryUsage
      extends CGroupMetricsBase<Long>

  Reports the current memory usage of the cgroup for this worker.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CGroupMemoryUsage(Map<String,Object> conf)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Long` | `getDataFrom(CgroupCore core)`

    - ### 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`

- - ### Constructor Detail

    - #### CGroupMemoryUsage

          public CGroupMemoryUsage(Map<String,Object> conf)

  - ### Method Detail

    - #### getDataFrom

          public Long getDataFrom(CgroupCore core)
                           throws Exception

      Specified by:
        `getDataFrom` in class `CGroupMetricsBase<Long>`
      Throws:
        `Exception`

Copyright © 2019 The Apache Software Foundation. All rights reserved.