public class ThreadDumpMessage extends Object implements Message
| Constructor and Description |
|---|
ThreadDumpMessage(String title)
Generate a ThreadDumpMessage with a title.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFormat()
Returns the title.
|
String |
getFormattedMessage()
Returns the ThreadDump in printable format.
|
Object[] |
getParameters()
Returns an array with a single element, a Map containing the ThreadInformation as the key.
|
Throwable |
getThrowable()
Always returns null.
|
String |
toString() |
protected Object |
writeReplace()
Creates a ThreadDumpMessageProxy that can be serialized.
|
public ThreadDumpMessage(String title)
title - The title.public String getFormattedMessage()
getFormattedMessage in interface Messagepublic String getFormat()
public Object[] getParameters()
getParameters in interface Messageprotected Object writeReplace()
public Throwable getThrowable()
getThrowable in interface MessageCopyright © 1999-2021 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.