Interface ClazzStatisticMBean

All Superinterfaces:
Runnable, Shutdownable
All Known Implementing Classes:
ClazzStatistic

public interface ClazzStatisticMBean extends Shutdownable
JMX-Interface for the ClazzStatistic.
Since:
2.3 (29.11.24)
Author:
oboehm
  • Method Details

    • logMe

      @Description("logs the statistic") void logMe()
      Prints the statistic to the log output.
    • exportCSV

      URI exportCSV() throws IOException
      Exports the statistics of the collected classes to the default location.
      Returns:
      export file
      Throws:
      IOException - in case of I/O problems
    • exportCSV

      URI exportCSV(String filename) throws IOException
      Exports the statistics of the collected classes to the file with the given filename.
      Parameters:
      filename - filename or URI, where the statistics should be exported to
      Returns:
      export URI
      Throws:
      IOException - in case of I/O problems
    • getExportFile

      File getExportFile()
      Returns the name of the default export file.
      Returns:
      export file