public class Hierarchy extends Object
A class that describes a cgroup hierarchy.
Constructor and Description |
---|
Hierarchy(String name,
Set<SubSystemType> subSystems,
String dir) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDir() |
String |
getName() |
CgroupCommon |
getRootCgroups() |
Set<SubSystemType> |
getSubSystems()
get subsystems.
|
String |
getType()
get all subsystems in hierarchy as a comma delimited list.
|
int |
hashCode() |
boolean |
isSubSystemMounted(SubSystemType subsystem) |
String |
toString() |
public Hierarchy(String name, Set<SubSystemType> subSystems, String dir)
public Set<SubSystemType> getSubSystems()
get subsystems.
public String getType()
get all subsystems in hierarchy as a comma delimited list.
public String getDir()
public CgroupCommon getRootCgroups()
public String getName()
public boolean isSubSystemMounted(SubSystemType subsystem)
Copyright © 2019 The Apache Software Foundation. All rights reserved.