Class ThreadDumpProvider
- java.lang.Object
-
- org.apache.karaf.diagnostic.core.common.TextDumpProvider
-
- org.apache.karaf.diagnostic.core.providers.ThreadDumpProvider
-
- All Implemented Interfaces:
DumpProvider
public class ThreadDumpProvider extends TextDumpProvider
Provider which dumps thread info to file named threads.txt.
-
-
Constructor Summary
Constructors Constructor Description ThreadDumpProvider()Creates new dump entry which contains information about threads.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetDumpThreadString(ThreadInfo threadInfo)protected voidwriteDump(OutputStreamWriter outputStream)This method should create output.-
Methods inherited from class org.apache.karaf.diagnostic.core.common.TextDumpProvider
createDump
-
-
-
-
Method Detail
-
writeDump
protected void writeDump(OutputStreamWriter outputStream) throws Exception
Description copied from class:TextDumpProviderThis method should create output.- Specified by:
writeDumpin classTextDumpProvider- Parameters:
outputStream- Stream which points to file specified in constructor.- Throws:
Exception- If any problem occur.
-
getDumpThreadString
protected String getDumpThreadString(ThreadInfo threadInfo)
-
-