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 |
aggregationTimeMs, rulesStat, sessionPreffix| Constructor and Description |
|---|
RulesChronoChartRecorder()
Creates
RulesChronoChartRecorder with no session prefix and default aggregation time |
RulesChronoChartRecorder(long aggregationTimeMs)
Creates
RulesChronoChartRecorder with no session prefix and provided aggregation time |
RulesChronoChartRecorder(String sessionPreffix)
Creates
RulesChronoChartRecorder with provided session prefix and default aggregation time |
RulesChronoChartRecorder(String sessionPreffix,
long aggregationTimeMs)
Creates
RulesChronoChartRecorder with provided session prefix and aggregation time |
| 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 timepublic RulesChronoChartRecorder(long aggregationTimeMs)
RulesChronoChartRecorder with no session prefix and provided aggregation timeaggregationTimeMs - public RulesChronoChartRecorder(String sessionPreffix)
RulesChronoChartRecorder with provided session prefix and default aggregation timesessionPreffix - public RulesChronoChartRecorder(String sessionPreffix, long aggregationTimeMs)
RulesChronoChartRecorder with provided session prefix and aggregation timesessionPreffix - aggregationTimeMs - public void recordTimeSeries()
public void setRetentionPeriod(long time,
TimeUnit units)
Copyright © 2020. All rights reserved.