public enum InterruptReason extends java.lang.Enum<InterruptReason>
Enum Constant and Description |
---|
CLEANUP_ERROR
cleanup was interrupted by unexpected exception
|
PROCESS_KILLED
cleanup was interrupted by system - java process was killed
|
STOPPED_BY_SYSTEM
cleanup was interrupted by system, for example, if server shutdown initiated
|
STOPPED_BY_USER
cleanup was interrupted by user
|
TIMEOUT
cleanup was interrupted by system because execution timeout is exceeded
|
Modifier and Type | Method and Description |
---|---|
static InterruptReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InterruptReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InterruptReason STOPPED_BY_USER
public static final InterruptReason STOPPED_BY_SYSTEM
public static final InterruptReason TIMEOUT
public static final InterruptReason CLEANUP_ERROR
public static final InterruptReason PROCESS_KILLED
public static InterruptReason[] values()
for (InterruptReason c : InterruptReason.values()) System.out.println(c);
public static InterruptReason 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