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