Class Starter
java.lang.Object
clazzfish.monitor.Starter
The Starter class loads automatically the Monitor classes.
- Since:
- 2.3 (22.11.24)
- Author:
- oboehm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
record()
Does not register all MBeans but add also the ClazzStatistic as shutdown hook.static void
Does not register all MBeans but add also the ClazzStatistic as shutdown hook.static void
Does not register all MBeans but add also the ClazzStatistic as shutdown hook.static void
Does not register all MBeans but add them also as shutdown hook.static void
Does not register all MBeans but add them also as shutdown hook.static void
Does not register all MBeans but add them also as shutdown hook.static void
start()
Registers all MBeans for monitoring the classpath and resources.
-
Constructor Details
-
Starter
public Starter()
-
-
Method Details
-
start
public static void start()Registers all MBeans for monitoring the classpath and resources. Also theClazzStatistic
is registered for importing and exporting the statistics of loaded classes. -
record
public static void record()Does not register all MBeans but add also the ClazzStatistic as shutdown hook. -
recordAll
public static void recordAll()Does not register all MBeans but add them also as shutdown hook. So at the end of the program all collected dates are exported. -
record
Does not register all MBeans but add also the ClazzStatistic as shutdown hook.- Parameters:
dir
- directory where the statistic is stored
-
record
Does not register all MBeans but add also the ClazzStatistic as shutdown hook.- Parameters:
base
- URI where the statistic is stored- Since:
- 2.5
-
recordAll
Does not register all MBeans but add them also as shutdown hook. So at the end of the program all collected dates are exported to the given directory- Parameters:
dir
- directory where the dates are stored
-
recordAll
Does not register all MBeans but add them also as shutdown hook. So at the end of the program all collected dates are exported to the given directory- Parameters:
base
- URI where the statistic is stored- Since:
- 2.5
-