public class RulesChronoAgendaEventListener
extends org.kie.api.event.rule.DefaultAgendaEventListener
Serializable result.RulesChronoChartRecorder,
PerfStat| Modifier and Type | Field and Description |
|---|---|
protected long |
aggregationTimeMs |
protected ConcurrentHashMap<String,PerfStat> |
rulesStat |
protected String |
sessionPreffix |
| Constructor and Description |
|---|
RulesChronoAgendaEventListener()
Creates
RulesChronoAgendaEventListener with no session prefix and default aggregation time |
RulesChronoAgendaEventListener(long aggregationTimeMs)
Creates
RulesChronoAgendaEventListener with no session prefix and provided aggregation time |
RulesChronoAgendaEventListener(String sessionPreffix)
Creates
RulesChronoAgendaEventListener with provided session prefix and default aggregation time |
RulesChronoAgendaEventListener(String sessionPreffix,
long aggregationTimeMs)
Creates
RulesChronoAgendaEventListener with provided session prefix and aggregation time |
| 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 aggregationTimeMs
protected final String sessionPreffix
public RulesChronoAgendaEventListener()
RulesChronoAgendaEventListener with no session prefix and default aggregation timepublic RulesChronoAgendaEventListener(long aggregationTimeMs)
RulesChronoAgendaEventListener with no session prefix and provided aggregation timeaggregationTimeMs - public RulesChronoAgendaEventListener(String sessionPreffix)
RulesChronoAgendaEventListener with provided session prefix and default aggregation timesessionPreffix - public RulesChronoAgendaEventListener(String sessionPreffix, long aggregationTimeMs)
RulesChronoAgendaEventListener with provided session prefix and aggregation timesessionPreffix - aggregationTimeMs - 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.