@InterfaceAudience.Public @InterfaceStability.Evolving public enum SignalContainerCommand extends Enum<SignalContainerCommand>
Enum Constant and Description |
---|
FORCEFUL_SHUTDOWN
Forcefully shutdown a container.
|
GRACEFUL_SHUTDOWN
Gracefully shutdown a container.
|
OUTPUT_THREAD_DUMP
Used to capture thread dump.
|
Modifier and Type | Method and Description |
---|---|
static SignalContainerCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignalContainerCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignalContainerCommand OUTPUT_THREAD_DUMP
public static final SignalContainerCommand GRACEFUL_SHUTDOWN
public static final SignalContainerCommand FORCEFUL_SHUTDOWN
public static SignalContainerCommand[] values()
for (SignalContainerCommand c : SignalContainerCommand.values()) System.out.println(c);
public static SignalContainerCommand 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 nullCopyright © 2018 Apache Software Foundation. All rights reserved.