| Package | Description |
|---|---|
| org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources |
| Modifier and Type | Method and Description |
|---|---|
static CGroupsHandler.CGroupController |
CGroupsHandler.CGroupController.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CGroupsHandler.CGroupController[] |
CGroupsHandler.CGroupController.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
String |
CGroupsHandler.createCGroup(CGroupsHandler.CGroupController controller,
String cGroupId)
Creates a cgroup for a given controller
|
void |
CGroupsHandler.deleteCGroup(CGroupsHandler.CGroupController controller,
String cGroupId)
Deletes the specified cgroup
|
String |
CGroupsHandler.getCGroupParam(CGroupsHandler.CGroupController controller,
String cGroupId,
String param)
reads a cgroup parameter value, given a controller, cgroup id, parameter
name
|
String |
CGroupsHandler.getPathForCGroup(CGroupsHandler.CGroupController controller,
String cGroupId)
Gets the full path for the cgroup, given a controller and a cgroup id
|
String |
CGroupsHandler.getPathForCGroupParam(CGroupsHandler.CGroupController controller,
String cGroupId,
String param)
Gets the full path for a cgroup parameter, given a controller,
cgroup id and parameter name
|
String |
CGroupsHandler.getPathForCGroupTasks(CGroupsHandler.CGroupController controller,
String cGroupId)
Gets the full path for the cgroup's tasks file, given a controller and a
cgroup id
|
void |
CGroupsHandler.mountCGroupController(CGroupsHandler.CGroupController controller)
Mounts a cgroup controller
|
void |
CGroupsHandler.updateCGroupParam(CGroupsHandler.CGroupController controller,
String cGroupId,
String param,
String value)
updates a cgroup parameter, given a controller, cgroup id, parameter name
and a parameter value
|
Copyright © 2017 Apache Software Foundation. All Rights Reserved.