org.apache.storm.container.cgroup.core

## Class NetClsCore

- java.lang.Object
- - org.apache.storm.container.cgroup.core.NetClsCore

- All Implemented Interfaces:
    CgroupCore

      public class NetClsCore
      extends Object
      implements CgroupCore

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `NET_CLS_CLASSID`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `NetClsCore(String dir)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Device` | `getClassId()`
    `SubSystemType` | `getType()`
    `void` | `setClassId(int major, int minor)`

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

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

- - ### Field Detail

    - #### NET_CLS_CLASSID

          public static final String NET_CLS_CLASSID

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### NetClsCore

          public NetClsCore(String dir)

  - ### Method Detail

    - #### getType

          public SubSystemType getType()

      Specified by:
        `getType` in interface `CgroupCore`

    - #### setClassId

          public void setClassId(int major,
                                 int minor)
                          throws IOException

      Throws:
        `IOException`

    - #### getClassId

          public Device getClassId()
                            throws IOException

      Throws:
        `IOException`

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