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 Summary
Constructors Constructor Description SubSystem(SubSystemType type, int hierarchyId, int cgroupNum, boolean enable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)intgetCgroupsNum()intgetHierarchyID()SubSystemTypegetType()inthashCode()booleanisEnable()voidsetCgroupsNum(int cgroupsNum)voidsetEnable(boolean enable)voidsetHierarchyID(int hierarchyID)voidsetType(SubSystemType type)
-
-
-
Constructor Detail
-
SubSystem
public SubSystem(SubSystemType type, int hierarchyId, int cgroupNum, boolean enable)
-
-
Method Detail
-
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)
-
-