public class BufferAggregationScheduler extends AggregationScheduler
AggregationScheduler.ReloaderThread| Modifier and Type | Field and Description |
|---|---|
protected long |
firstBufferedTime |
protected boolean |
firstOfBuffer |
AGGREGATION_SCHEDULER_TIME, BUFFER_RECORD_NUMBER, BUFFER_RECORD_TIME, bufferedRecords, changeConfiguration, futureFlush, futureReload, logger, persistenceExecutor, RANDOM_INIT_START, TIME_RELOAD_CONFIGURATION, TIME_UNIT, totalBufferedRecords| Constructor and Description |
|---|
BufferAggregationScheduler(PersistenceExecutor persistenceExecutor,
AggregationConfig config,
String name) |
BufferAggregationScheduler(PersistenceExecutor persistenceExecutor,
String name) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isTimeToPersist(int maxRecordNumber,
long oldRecordMaxTime) |
protected void |
schedulerSpecificClear() |
aggregate, aggregate, CheckConfiguration, clear, flush, getAggregatedRecord, getConfig, getConfiguration, instantiateAggregatedRecord, madeAggregation, newInstance, newInstance, reallyFlush, reloadConfiguration, run, setConfig, shutdownprotected boolean firstOfBuffer
protected long firstBufferedTime
public BufferAggregationScheduler(PersistenceExecutor persistenceExecutor, String name)
public BufferAggregationScheduler(PersistenceExecutor persistenceExecutor, AggregationConfig config, String name)
protected void schedulerSpecificClear()
schedulerSpecificClear in class AggregationSchedulerprotected boolean isTimeToPersist(int maxRecordNumber,
long oldRecordMaxTime)
isTimeToPersist in class AggregationSchedulerCopyright © 2017. All Rights Reserved.