Package | Description |
---|---|
org.apache.storm.container.cgroup | |
org.apache.storm.container.cgroup.core | |
org.apache.storm.metric.cgroup |
Modifier and Type | Method and Description |
---|---|
static SubSystemType |
SubSystemType.getSubSystem(String str) |
SubSystemType |
SubSystem.getType() |
static SubSystemType |
SubSystemType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubSystemType[] |
SubSystemType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Map<SubSystemType,CgroupCore> |
CgroupCommon.getCores() |
static Map<SubSystemType,CgroupCore> |
CgroupCoreFactory.getInstance(Set<SubSystemType> types,
String dir) |
Set<SubSystemType> |
Hierarchy.getSubSystems()
get subsystems.
|
static Set<SubSystemType> |
CgroupUtils.getSubSystemsFromString(String str)
Get a set of SubSystemType objects from a comma delimited list of subsystem names.
|
Modifier and Type | Method and Description |
---|---|
Hierarchy |
CgroupCenter.getHierarchyWithSubSystem(SubSystemType subSystem) |
Hierarchy |
CgroupOperation.getHierarchyWithSubSystem(SubSystemType subsystem)
get the first hierarchy that has a certain subsystem isMounted.
|
static CgroupCore |
CgroupCoreFactory.getInstance(SubSystemType type,
String dir) |
boolean |
CgroupCenter.isSubSystemEnabled(SubSystemType subSystemType) |
boolean |
CgroupOperation.isSubSystemEnabled(SubSystemType subsystem)
Check if a subsystem is enabled.
|
boolean |
Hierarchy.isSubSystemMounted(SubSystemType subsystem) |
void |
SubSystem.setType(SubSystemType type) |
Modifier and Type | Method and Description |
---|---|
Hierarchy |
CgroupCenter.getHierarchyWithSubSystems(List<SubSystemType> subSystems) |
Hierarchy |
CgroupOperation.getHierarchyWithSubSystems(List<SubSystemType> subSystems)
get the first hierarchy that has a certain list of subsystems isMounted.
|
static Map<SubSystemType,CgroupCore> |
CgroupCoreFactory.getInstance(Set<SubSystemType> types,
String dir) |
static String |
CgroupUtils.subSystemsToString(Set<SubSystemType> subSystems)
Get a string that is a comma delimited list of subsystems.
|
Constructor and Description |
---|
SubSystem(SubSystemType type,
int hierarchyId,
int cgroupNum,
boolean enable) |
Constructor and Description |
---|
Hierarchy(String name,
Set<SubSystemType> subSystems,
String dir) |
Modifier and Type | Method and Description |
---|---|
SubSystemType |
FreezerCore.getType() |
SubSystemType |
MemoryCore.getType() |
SubSystemType |
CpuCore.getType() |
SubSystemType |
NetPrioCore.getType() |
SubSystemType |
CpuacctCore.getType() |
SubSystemType |
DevicesCore.getType() |
SubSystemType |
CpusetCore.getType() |
SubSystemType |
BlkioCore.getType() |
SubSystemType |
CgroupCore.getType() |
SubSystemType |
NetClsCore.getType() |
Constructor and Description |
---|
CGroupMetricsBase(Map<String,Object> conf,
SubSystemType type) |
Copyright © 2020 The Apache Software Foundation. All rights reserved.