Module org.apache.wicket.core
Package org.apache.wicket.settings
Enum Class ExceptionSettings.ThreadDumpStrategy
java.lang.Object
java.lang.Enum<ExceptionSettings.ThreadDumpStrategy>
org.apache.wicket.settings.ExceptionSettings.ThreadDumpStrategy
- All Implemented Interfaces:
Serializable
,Comparable<ExceptionSettings.ThreadDumpStrategy>
,Constable
- Enclosing class:
- ExceptionSettings
public static enum ExceptionSettings.ThreadDumpStrategy
extends Enum<ExceptionSettings.ThreadDumpStrategy>
Which threads' stacktrace to dump when a page lock timeout occurs
- Author:
- papegaaij
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDump stacktraces of all threads of the applicationDo not dump any stacktracesDump the stacktrace of the thread holding the lock -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ExceptionSettings.ThreadDumpStrategy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_THREADS
Do not dump any stacktraces -
THREAD_HOLDING_LOCK
Dump the stacktrace of the thread holding the lock -
ALL_THREADS
Dump stacktraces of all threads of the application
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-