public static enum CGroupsHandler.CGroupController extends Enum<CGroupsHandler.CGroupController>
Enum Constant and Description |
---|
BLKIO |
CPU |
CPUACCT |
CPUSET |
DEVICES |
FREEZER |
MEMORY |
NET_CLS |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static Set<String> |
getValidCGroups()
Get the list of valid cgroup names.
|
static CGroupsHandler.CGroupController |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CGroupsHandler.CGroupController[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CGroupsHandler.CGroupController CPU
public static final CGroupsHandler.CGroupController NET_CLS
public static final CGroupsHandler.CGroupController BLKIO
public static final CGroupsHandler.CGroupController MEMORY
public static final CGroupsHandler.CGroupController CPUACCT
public static final CGroupsHandler.CGroupController CPUSET
public static final CGroupsHandler.CGroupController FREEZER
public static final CGroupsHandler.CGroupController DEVICES
public static CGroupsHandler.CGroupController[] values()
for (CGroupsHandler.CGroupController c : CGroupsHandler.CGroupController.values()) System.out.println(c);
public static CGroupsHandler.CGroupController 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 String getName()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.