|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.logging.log4j.message.ThreadDumpMessage
public class ThreadDumpMessage
Captures information about all running Threads.
| Constructor Summary | |
|---|---|
ThreadDumpMessage(String title)
Generate a ThreadDumpMessage with a title. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ThreadDumpMessage(String title)
title - The title.| Method Detail |
|---|
public String toString()
toString in class Objectpublic String getFormattedMessage()
getFormattedMessage in interface Messagepublic String getFormat()
getFormat in interface Messagepublic Object[] getParameters()
getParameters in interface Messageprotected Object writeReplace()
public Throwable getThrowable()
getThrowable in interface Message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1999-2014 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.