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

# Class DevicesCore

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

All Implemented Interfaces:
  `CgroupCore`

public class DevicesCore extends Object implements CgroupCore

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `DevicesCore.Record`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DevicesCore(String dir)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DevicesCore.Record[]`
  `getList()`
  `SubSystemType`
  `getType()`
  `void`
  `setAllow(char type, Device device, int accesses)`
  `void`
  `setDeny(char type, Device device, int accesses)`

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

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

- ## Constructor Details

  - ### DevicesCore

    public DevicesCore(String dir)

- ## Method Details

  - ### getType

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

  - ### setAllow

    public void setAllow(char type, Device device, int accesses) throws IOException
    Throws:
      `IOException`

  - ### setDeny

    public void setDeny(char type, Device device, int accesses) throws IOException
    Throws:
      `IOException`

  - ### getList

    public DevicesCore.Record[] getList() throws IOException
    Throws:
      `IOException`