public static enum ThreadLeakAction.Action extends 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(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(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 © 2011–2015 Carrot Search s.c.. All rights reserved.