public class RulesChronoChartRecorder extends RulesChronoAgendaEventListener
TimeSeries.RulesChronoAgendaEventListener,
PerfStat| Modifier and Type | Field and Description |
|---|---|
static int |
RETENTION_PERIOD_MIN |
protected long |
retentionPeriodSec |
protected ConcurrentHashMap<String,org.jfree.data.time.TimeSeries> |
rulesAvgChart |
protected ConcurrentHashMap<String,org.jfree.data.time.TimeSeries> |
rulesMaxChart |
protected Timer |
timer |
aggregationPeriodMs, rulesStat, sessionPreffix| Constructor and Description |
|---|
RulesChronoChartRecorder()
Creates
RulesChronoChartRecorder with no session prefix and default aggregation period |
RulesChronoChartRecorder(long aggregationPeriodMs)
Creates
RulesChronoChartRecorder with no session prefix and provided aggregation period |
RulesChronoChartRecorder(String sessionPreffix)
Creates
RulesChronoChartRecorder with provided session prefix and default aggregation period |
RulesChronoChartRecorder(String sessionPreffix,
long aggregationPeriodMs)
Creates
RulesChronoChartRecorder with provided session prefix and aggregation period |
| Modifier and Type | Method and Description |
|---|---|
TreeMap<String,org.jfree.data.time.TimeSeries> |
getRulesAvgChart() |
TreeMap<String,org.jfree.data.time.TimeSeries> |
getRulesMaxChart() |
void |
initTimeSeries(String rule,
Stat stat) |
void |
recordTimeSeries() |
void |
setRetentionPeriod(long time,
TimeUnit units) |
afterMatchFired, beforeMatchFired, getPerfStat, resetpublic static final int RETENTION_PERIOD_MIN
protected final ConcurrentHashMap<String,org.jfree.data.time.TimeSeries> rulesMaxChart
protected final ConcurrentHashMap<String,org.jfree.data.time.TimeSeries> rulesAvgChart
protected final Timer timer
protected long retentionPeriodSec
public RulesChronoChartRecorder()
RulesChronoChartRecorder with no session prefix and default aggregation periodpublic RulesChronoChartRecorder(long aggregationPeriodMs)
RulesChronoChartRecorder with no session prefix and provided aggregation periodaggregationPeriodMs - public RulesChronoChartRecorder(String sessionPreffix)
RulesChronoChartRecorder with provided session prefix and default aggregation periodsessionPreffix - public RulesChronoChartRecorder(String sessionPreffix, long aggregationPeriodMs)
RulesChronoChartRecorder with provided session prefix and aggregation periodsessionPreffix - aggregationPeriodMs - public void recordTimeSeries()
public void setRetentionPeriod(long time,
TimeUnit units)
Copyright © 2020. All rights reserved.