Package org.apache.storm.container.cgroup.core

# Class NetPrioCore

java.lang.Object
org.apache.storm.container.cgroup.core.NetPrioCore

All Implemented Interfaces:
  `CgroupCore`

public class NetPrioCore extends Object implements CgroupCore

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `NET_PRIO_IFPRIOMAP`
  `static final String`
  `NET_PRIO_PRIOIDX`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NetPrioCore(String dir)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Map<String,Integer>`
  `getIfPrioMap()`
  `int`
  `getPrioId()`
  `SubSystemType`
  `getType()`
  `void`
  `setIfPrioMap(String iface, int priority)`

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

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

- ## Field Details

  - ### NET_PRIO_PRIOIDX

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

  - ### NET_PRIO_IFPRIOMAP

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

- ## Constructor Details

  - ### NetPrioCore

    public NetPrioCore(String dir)

- ## Method Details

  - ### getType

    public SubSystemType getType()
    Specified by:
      `getType` in interface `CgroupCore`

  - ### getPrioId

    public int getPrioId() throws IOException
    Throws:
      `IOException`

  - ### setIfPrioMap

    public void setIfPrioMap(String iface, int priority) throws IOException
    Throws:
      `IOException`

  - ### getIfPrioMap

    public Map<String,Integer> getIfPrioMap() throws IOException
    Throws:
      `IOException`