Uses of Class
org.droolsassert.RulesChronoAgendaEventListener
-
Packages that use RulesChronoAgendaEventListener Package Description org.droolsassert -
-
Uses of RulesChronoAgendaEventListener in org.droolsassert
Subclasses of RulesChronoAgendaEventListener in org.droolsassert Modifier and Type Class Description classRulesChronoChartRecorderCollect live performance statistic for rules (then block) as aggregated result and jfree chartTimeSeries.
Suitable for prod environment and statistic delivery at the end of the flow or exposing via rest API etc.
Note: This class creates thread pool executor with single background thread (for all instances) with core pool size 0 (thread will stop if no statistic is gathered).
Executor holds week reference to the recorder and scheduled periodic statistic gathering will be automatically cancelled when recorder is not in use any more.Methods in org.droolsassert that return RulesChronoAgendaEventListener Modifier and Type Method Description RulesChronoAgendaEventListenerRulesChronoAgendaEventListener. withPackageName(boolean usePackageName)Include rule package name to qualify rule name, false by defaultRulesChronoAgendaEventListenerRulesChronoAgendaEventListener. withSessionPrefix(String sessionPrefix)Include unique session prefix to segregate statistic.
Optional unless you want to use different aggregation periods for the same rule names.
If several listeners gather statistic under the same name statistic will be merged and 'peer' counter increased.
-