org.apache.karaf.diagnostic.common
Class ThreadDumpProvider

java.lang.Object
  extended by org.apache.karaf.diagnostic.core.common.TextDumpProvider
      extended by org.apache.karaf.diagnostic.common.ThreadDumpProvider
All Implemented Interfaces:
DumpProvider

public class ThreadDumpProvider
extends TextDumpProvider

Provider which dumps thread info to file named threads.txt.

Author:
ldywicki

Constructor Summary
ThreadDumpProvider()
          Creates new dump entry which contains information about threads.
 
Method Summary
protected  void writeDump(java.io.OutputStreamWriter outputStream)
          This method should create output.
 
Methods inherited from class org.apache.karaf.diagnostic.core.common.TextDumpProvider
createDump
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadDumpProvider

public ThreadDumpProvider()
Creates new dump entry which contains information about threads.

Method Detail

writeDump

protected void writeDump(java.io.OutputStreamWriter outputStream)
                  throws Exception
Description copied from class: TextDumpProvider
This method should create output.

Specified by:
writeDump in class TextDumpProvider
Parameters:
outputStream - Stream which points to file specified in constructor.
Throws:
Exception - If any problem occur.


Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.