Package org.apache.storm.container.cgroup

## Class SystemOperation

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

-     public class SystemOperation
      extends Object

  A class that implements system operations for using cgroups.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SystemOperation()` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static String` | `exec​(String cmd)` |
    `static boolean` | `isRoot()` |
    `static void` | `mount​(String name, String target, String type, String options)` |
    `static void` | `umount​(String pathToDir)` |

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

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

- - ### Constructor Detail

    - #### SystemOperation

          public SystemOperation()

  - ### Method Detail

    - #### isRoot

          public static boolean isRoot()
                                throws IOException

      Throws:
        `IOException`

    - #### mount

          public static void mount​(String name,
                                   String target,
                                   String type,
                                   String options)
                            throws IOException

      Throws:
        `IOException`

    - #### umount

          public static void umount​(String pathToDir)
                             throws IOException

      Throws:
        `IOException`

    - #### exec

          public static String exec​(String cmd)
                             throws IOException

      Throws:
        `IOException`