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 voidformatLock(StringBuilder sb, LockInfo lock) private voidformatState(StringBuilder sb, ThreadInfo info) voidprintStack(StringBuilder sb, StackTraceElement[] stack) Formats the stack trace into the provided StringBuilder.voidFormats the thread information into the provided StringBuilder.
-
Field Details
-
threadInfo
-
-
Constructor Details
-
ExtendedThreadInformation
ExtendedThreadInformation(ThreadInfo thread)
-
-
Method Details
-
printThreadInfo
Description copied from interface:ThreadInformationFormats the thread information into the provided StringBuilder.- Specified by:
printThreadInfoin interfaceThreadInformation- Parameters:
sb- The StringBuilder.
-
printStack
Description copied from interface:ThreadInformationFormats the stack trace into the provided StringBuilder.- Specified by:
printStackin interfaceThreadInformation- Parameters:
sb- The StringBuilder.stack- The stack trace element array to format.
-
formatLock
-
formatState
-