Package org.apache.storm.metrics2.cgroup

## Class CGroupMetricsBase

- java.lang.Object
- - org.apache.storm.metrics2.cgroup.CGroupMetricsBase

- Direct Known Subclasses:
    `CGroupCpu`, `CGroupCpuGuarantee`, `CGroupCpuGuaranteeByCfsQuota`, `CGroupCpuStat`, `CGroupMemoryLimit`, `CGroupMemoryUsage`

      public abstract class CGroupMetricsBase
      extends Object

  Base class for checking if CGroups are enabled, etc.

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected CgroupCore` | `core` |
    `protected boolean` | `enabled` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `CGroupMetricsBase​(Map<String,​Object> conf, SubSystemType type)` |

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### enabled

          protected boolean enabled

    - #### core

          protected CgroupCore core

  - ### Constructor Detail

    - #### CGroupMetricsBase

          public CGroupMetricsBase​(Map<String,​Object> conf,
                                   SubSystemType type)