public class RulesChronoAgendaEventListener
extends org.kie.api.event.rule.DefaultAgendaEventListener
Serializable result.RulesChronoChartRecorder,
PerfStat| Modifier and Type | Field and Description |
|---|---|
protected long |
aggregationPeriodMs |
protected ConcurrentHashMap<String,PerfStat> |
rulesStat |
protected String |
sessionPreffix |
| Constructor and Description |
|---|
RulesChronoAgendaEventListener()
Creates
RulesChronoAgendaEventListener with no session prefix and default aggregation period |
RulesChronoAgendaEventListener(long aggregationPeriodMs)
Creates
RulesChronoAgendaEventListener with no session prefix and provided aggregation period |
RulesChronoAgendaEventListener(String sessionPreffix)
Creates
RulesChronoAgendaEventListener with provided session prefix and default aggregation period |
RulesChronoAgendaEventListener(String sessionPreffix,
long aggregationPeriodMs)
Creates
RulesChronoAgendaEventListener with provided session prefix and aggregation period |
| Modifier and Type | Method and Description |
|---|---|
void |
afterMatchFired(org.kie.api.event.rule.AfterMatchFiredEvent event) |
void |
beforeMatchFired(org.kie.api.event.rule.BeforeMatchFiredEvent event) |
TreeMap<String,Stat> |
getPerfStat() |
void |
reset() |
protected final ConcurrentHashMap<String,PerfStat> rulesStat
protected final long aggregationPeriodMs
protected final String sessionPreffix
public RulesChronoAgendaEventListener()
RulesChronoAgendaEventListener with no session prefix and default aggregation periodpublic RulesChronoAgendaEventListener(long aggregationPeriodMs)
RulesChronoAgendaEventListener with no session prefix and provided aggregation periodaggregationPeriodMs - public RulesChronoAgendaEventListener(String sessionPreffix)
RulesChronoAgendaEventListener with provided session prefix and default aggregation periodsessionPreffix - public RulesChronoAgendaEventListener(String sessionPreffix, long aggregationPeriodMs)
RulesChronoAgendaEventListener with provided session prefix and aggregation periodsessionPreffix - aggregationPeriodMs - public void beforeMatchFired(org.kie.api.event.rule.BeforeMatchFiredEvent event)
beforeMatchFired in interface org.kie.api.event.rule.AgendaEventListenerbeforeMatchFired in class org.kie.api.event.rule.DefaultAgendaEventListenerpublic void afterMatchFired(org.kie.api.event.rule.AfterMatchFiredEvent event)
afterMatchFired in interface org.kie.api.event.rule.AgendaEventListenerafterMatchFired in class org.kie.api.event.rule.DefaultAgendaEventListenerpublic void reset()
Copyright © 2020. All rights reserved.