public enum SubSystemType extends Enum<SubSystemType>
A enum class to described the subsystems that can be used
Enum Constant and Description |
---|
blkio |
cpu |
cpuacct |
cpuset |
devices |
freezer |
memory |
net_cls |
net_prio |
perf_event |
Modifier and Type | Method and Description |
---|---|
static SubSystemType |
getSubSystem(String str) |
static SubSystemType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubSystemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubSystemType blkio
public static final SubSystemType cpu
public static final SubSystemType cpuacct
public static final SubSystemType cpuset
public static final SubSystemType devices
public static final SubSystemType freezer
public static final SubSystemType memory
public static final SubSystemType perf_event
public static final SubSystemType net_cls
public static final SubSystemType net_prio
public static SubSystemType[] values()
for (SubSystemType c : SubSystemType.values()) System.out.println(c);
public static SubSystemType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static SubSystemType getSubSystem(String str)
Copyright © 2019 The Apache Software Foundation. All rights reserved.