pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

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

Method Summary
 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.
 

Method Detail

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 TaskExecutionMode
statisticsServer - the current StatisticsServer
config - the DataAggregationJobletConfiguration
bundle - the current Bundle, e.g. for retrieving a Configuration