org.torweg.pulse.component.statistics.aggregator.task
Interface IPreAggregationAndOrPostAggregationTask
- All Known Implementing Classes:
- CleanupPIRecordsTask, SampleTask
public interface IPreAggregationAndOrPostAggregationTask
Represents a task which is to be executed right before/after the
DataAggregationJoblet.AggregationExecutor is being/has been
executed on a "per StatisticsServer" basis.
- Version:
- $Revision: 1544 $
- Author:
- Daniel Dietz
execute
void execute(TaskExecutionMode mode, StatisticsServer statisticsServer, DataAggregationJobletConfiguration config, Bundle bundle)
- The main method of the
IPreAggregationAndOrPostAggregationTask which is being
called before/after all aggregations are being run or are run and done
for the given StatisticsServer.
- Parameters:
mode - the current TaskExecutionModestatisticsServer - the current StatisticsServerconfig - the DataAggregationJobletConfigurationbundle - the current Bundle, e.g. for retrieving a
Configuration