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
    • importCSV

      void importCSV(String filename)
      Importes the statistics form the given filename or URI.
      Parameters:
      filename - filename or URI
      Since:
      2.7
    • getExportURI

      URI getExportURI()
      Returns the URI where the statistic should be exported to.
      Returns:
      export URI