Class SubSystem
java.lang.Object
org.apache.storm.container.cgroup.SubSystem
a class that implements operations that can be performed on a cgroup subsystem.
-
Constructor Summary
ConstructorDescriptionSubSystem
(SubSystemType type, int hierarchyId, int cgroupNum, boolean enable) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
int
getType()
int
hashCode()
boolean
isEnable()
void
setCgroupsNum
(int cgroupsNum) void
setEnable
(boolean enable) void
setHierarchyID
(int hierarchyID) void
setType
(SubSystemType type)
-
Constructor Details
-
SubSystem
-
-
Method Details
-
getType
-
setType
-
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() -
equals
-