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 final String`
  `NET_CLS_CLASSID`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NetClsCore(String dir)`

- ## Method Summary

  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 Details

  - ### NET_CLS_CLASSID

    public static final String NET_CLS_CLASSID
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### NetClsCore

    public NetClsCore(String dir)

- ## Method Details

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