public class SubSystem extends Object
a class that implements operations that can be performed on a cgroup subsystem.
Constructor and Description |
---|
SubSystem(SubSystemType type,
int hierarchyId,
int cgroupNum,
boolean enable) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
int |
getCgroupsNum() |
int |
getHierarchyID() |
SubSystemType |
getType() |
int |
hashCode() |
boolean |
isEnable() |
void |
setCgroupsNum(int cgroupsNum) |
void |
setEnable(boolean enable) |
void |
setHierarchyID(int hierarchyID) |
void |
setType(SubSystemType type) |
public SubSystem(SubSystemType type, int hierarchyId, int cgroupNum, boolean enable)
public SubSystemType getType()
public void setType(SubSystemType type)
public int getHierarchyID()
public void setHierarchyID(int hierarchyID)
public int getCgroupsNum()
public void setCgroupsNum(int cgroupsNum)
public boolean isEnable()
public void setEnable(boolean enable)
Copyright © 2020 The Apache Software Foundation. All rights reserved.