Enum Constant and Description |
---|
HOST
If host is specified, then all containers within the tasks that specified the host IPC mode on the same container instance share the same IPC resources with the host Amazon EC2 instance.
|
NONE
If none is specified, then IPC resources within the containers of a task are private and not shared with other containers in a task or on the container instance.
|
TASK
If task is specified, all containers within the specified task share the same IPC resources.
|
Modifier and Type | Method and Description |
---|---|
static IpcMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IpcMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IpcMode NONE
public static final IpcMode HOST
public static final IpcMode TASK
public static IpcMode[] values()
for (IpcMode c : IpcMode.values()) System.out.println(c);
public static IpcMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null