public static enum ExceptionSettings.ThreadDumpStrategy extends Enum<ExceptionSettings.ThreadDumpStrategy>
Enum Constant and Description |
---|
ALL_THREADS
Dump stacktraces of all threads of the application
|
NO_THREADS
Do not dump any stacktraces
|
THREAD_HOLDING_LOCK
Dump the stacktrace of the thread holding the lock
|
Modifier and Type | Method and Description |
---|---|
static ExceptionSettings.ThreadDumpStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExceptionSettings.ThreadDumpStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExceptionSettings.ThreadDumpStrategy NO_THREADS
public static final ExceptionSettings.ThreadDumpStrategy THREAD_HOLDING_LOCK
public static final ExceptionSettings.ThreadDumpStrategy ALL_THREADS
public static ExceptionSettings.ThreadDumpStrategy[] values()
for (ExceptionSettings.ThreadDumpStrategy c : ExceptionSettings.ThreadDumpStrategy.values()) System.out.println(c);
public static ExceptionSettings.ThreadDumpStrategy 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 © 2006–2016 Apache Software Foundation. All rights reserved.