Uses of Class
org.droolsassert.RulesChronoAgendaEventListener

Package
Description
 
  • Uses of RulesChronoAgendaEventListener in org.droolsassert

    Modifier and Type
    Class
    Description
    class 
    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
    Description
    RulesChronoAgendaEventListener.withPackageName(boolean usePackageName)
    Include rule package name to qualify rule name, false by default
    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.