Interface ClazzStatisticMBean
- All Superinterfaces:
Runnable
,Shutdownable
- All Known Implementing Classes:
ClazzStatistic
JMX-Interface for the
ClazzStatistic
.- Since:
- 2.3 (29.11.24)
- Author:
- oboehm
-
Method Summary
Modifier and TypeMethodDescriptionExports the statistics of the collected classes to the default location.Exports the statistics of the collected classes to the file with the given filename.Returns the URI where the statistic should be exported to.void
Importes the statistics form the given filename or URI.void
logMe()
Prints the statistic to the log output.Methods inherited from interface clazzfish.monitor.util.Shutdownable
addMeAsShutdownHook, isShutdownHook, removeMeAsShutdownHook
-
Method Details
-
logMe
Prints the statistic to the log output. -
exportCSV
Exports the statistics of the collected classes to the default location.- Returns:
- export file
- Throws:
IOException
- in case of I/O problems
-
exportCSV
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
Importes the statistics form the given filename or URI.- Parameters:
filename
- filename or URI- Since:
- 2.7
-
getExportURI
-