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 and Description
    --- | ---
    `static class` | `DevicesCore.Record`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DevicesCore(String dir)`

  - ### Method Summary

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

    - #### DevicesCore

          public DevicesCore(String dir)

  - ### Method Detail

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

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