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.

      @Deprecated
      public class CGroupMemoryLimit
      extends CGroupMetricsBase<Long>

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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CGroupMemoryLimit(Map<String,Object> conf)` Deprecated.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and 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`

- - ### Constructor Detail

    - #### CGroupMemoryLimit

          public CGroupMemoryLimit(Map<String,Object> conf)

      Deprecated.

  - ### Method Detail

    - #### getDataFrom

          public Long getDataFrom(CgroupCore core)
                           throws Exception

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

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