@InterfaceAudience.Private @InterfaceStability.Unstable public class PrivilegedOperation extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | PrivilegedOperation.OperationType | 
| static class  | PrivilegedOperation.ResultCodeResult codes returned from the C container-executor. | 
| static class  | PrivilegedOperation.RunAsUserCommandList of commands that the container-executor will execute. | 
| Modifier and Type | Field and Description | 
|---|---|
| static String | CGROUP_ARG_NO_TASKS | 
| static String | CGROUP_ARG_PREFIX | 
| static char | LINUX_FILE_PATH_SEPARATOR | 
| Constructor and Description | 
|---|
| PrivilegedOperation(PrivilegedOperation.OperationType opType) | 
| PrivilegedOperation(PrivilegedOperation.OperationType opType,
                   List<String> args) | 
| PrivilegedOperation(PrivilegedOperation.OperationType opType,
                   String arg) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | appendArgs(List<String> args) | 
| void | appendArgs(String... args) | 
| void | disableFailureLogging() | 
| void | enableFailureLogging() | 
| boolean | equals(Object other) | 
| List<String> | getArguments() | 
| PrivilegedOperation.OperationType | getOperationType() | 
| int | hashCode() | 
| boolean | isFailureLoggingEnabled() | 
public static final char LINUX_FILE_PATH_SEPARATOR
public static final String CGROUP_ARG_PREFIX
public static final String CGROUP_ARG_NO_TASKS
public PrivilegedOperation(PrivilegedOperation.OperationType opType)
public PrivilegedOperation(PrivilegedOperation.OperationType opType, String arg)
public PrivilegedOperation(PrivilegedOperation.OperationType opType, List<String> args)
public void appendArgs(String... args)
public void enableFailureLogging()
public void disableFailureLogging()
public boolean isFailureLoggingEnabled()
public PrivilegedOperation.OperationType getOperationType()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.