Class SubSystem

java.lang.Object
org.apache.storm.container.cgroup.SubSystem

public class SubSystem extends Object
a class that implements operations that can be performed on a cgroup subsystem.
  • Constructor Details

    • SubSystem

      public SubSystem(SubSystemType type, int hierarchyId, int cgroupNum, boolean enable)
  • Method Details

    • getType

      public SubSystemType getType()
    • setType

      public void setType(SubSystemType type)
    • getHierarchyID

      public int getHierarchyID()
    • setHierarchyID

      public void setHierarchyID(int hierarchyID)
    • getCgroupsNum

      public int getCgroupsNum()
    • setCgroupsNum

      public void setCgroupsNum(int cgroupsNum)
    • isEnable

      public boolean isEnable()
    • setEnable

      public void setEnable(boolean enable)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object