public static enum ThreadLeakAction.Action extends java.lang.Enum<ThreadLeakAction.Action>
| Enum Constant and Description |
|---|
INTERRUPT
Try to
Thread.interrupt() any leaked threads. |
WARN
Emit a warning using Java's logging system.
|
| Modifier and Type | Method and Description |
|---|---|
static ThreadLeakAction.Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThreadLeakAction.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadLeakAction.Action WARN
public static final ThreadLeakAction.Action INTERRUPT
Thread.interrupt() any leaked threads.public static ThreadLeakAction.Action[] values()
for (ThreadLeakAction.Action c : ThreadLeakAction.Action.values()) System.out.println(c);
public static ThreadLeakAction.Action 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 nullCopyright © 2011–2018 Carrot Search s.c.. All rights reserved.