| Package | Description |
|---|---|
| org.droolsassert |
| Modifier and Type | Class and Description |
|---|---|
class |
RulesChronoChartRecorder
Collect live performance statistic for rules (then block) as aggregated result and jfree chart
TimeSeries.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. |
| Modifier and Type | Method and Description |
|---|---|
RulesChronoAgendaEventListener |
RulesChronoAgendaEventListener.withPackageName(boolean usePackageName)
Include rule package name to qualify rule name, false by default
|
RulesChronoAgendaEventListener |
RulesChronoAgendaEventListener.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. |
Copyright © 2021. All rights reserved.