org.apache.storm.container.cgroup

## Class Device

- java.lang.Object
- - org.apache.storm.container.cgroup.Device

-     public class Device
      extends Object

  a class that represents a device in linux.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `major`
    `int` | `minor`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Device(int major, int minor)`
    `Device(String str)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object obj)`
    `int` | `hashCode()`
    `String` | `toString()`

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

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### major

          public final int major

    - #### minor

          public final int minor

  - ### Constructor Detail

    - #### Device

          public Device(int major,
                        int minor)

    - #### Device

          public Device(String str)

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

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