org.apache.karaf.diagnostic.management
Interface DiagnosticDumpMBean

All Known Implementing Classes:
DiagnosticDumpMBeanImpl

public interface DiagnosticDumpMBean

Diagnostic MBean which allows to create dumps over JMX.

Author:
ldywicki

Method Summary
 void createDump(boolean directory, java.lang.String name)
          Create dump with directory switch and name.
 void createDump(java.lang.String name)
          Creates dump over JMX.
 

Method Detail

createDump

void createDump(java.lang.String name)
                throws Exception
Creates dump over JMX.

Parameters:
name - Name of the dump.
Throws:
Exception - In case of any problems.

createDump

void createDump(boolean directory,
                java.lang.String name)
                throws Exception
Create dump with directory switch and name.

Parameters:
directory - Should dump be created in directory.
name - Name of the dump.
Throws:
Exception - In case of any problems.


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