Package 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 | Description
    --- | --- | ---
    `static String` | `NET_CLS_CLASSID` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `NetClsCore​(String dir)` |

  - ### Method Summary

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