Class ExtendedThreadInformation
java.lang.Object
org.apache.logging.log4j.core.message.ExtendedThreadInformation
- All Implemented Interfaces:
ThreadInformation
Provides information on locks and monitors in the thread dump. This class requires Java 1.6 to compile and
run.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
formatLock
(StringBuilder sb, LockInfo lock) private void
formatState
(StringBuilder sb, ThreadInfo info) void
printStack
(StringBuilder sb, StackTraceElement[] stack) Formats the stack trace into the provided StringBuilder.void
Formats the thread information into the provided StringBuilder.
-
Field Details
-
threadInfo
-
-
Constructor Details
-
ExtendedThreadInformation
ExtendedThreadInformation(ThreadInfo thread)
-
-
Method Details
-
printThreadInfo
Description copied from interface:ThreadInformation
Formats the thread information into the provided StringBuilder.- Specified by:
printThreadInfo
in interfaceThreadInformation
- Parameters:
sb
- The StringBuilder.
-
printStack
Description copied from interface:ThreadInformation
Formats the stack trace into the provided StringBuilder.- Specified by:
printStack
in interfaceThreadInformation
- Parameters:
sb
- The StringBuilder.stack
- The stack trace element array to format.
-
formatLock
-
formatState
-