@Deprecated public enum TerminationStrategy extends Enum<TerminationStrategy>
| Enum Constant and Description |
|---|
BY_INTERRUPT
Deprecated.
|
BY_SELF_DECISION
Deprecated.
|
BY_SIGNAL
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static TerminationStrategy |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static TerminationStrategy[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TerminationStrategy BY_SIGNAL
public static final TerminationStrategy BY_SELF_DECISION
public static final TerminationStrategy BY_INTERRUPT
public static TerminationStrategy[] values()
for (TerminationStrategy c : TerminationStrategy.values()) System.out.println(c);
public static TerminationStrategy 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 © 2015–2020. All rights reserved.