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
Class CleanupPIRecordsTask

java.lang.Object
  extended by org.torweg.pulse.component.statistics.aggregator.task.CleanupPIRecordsTask
All Implemented Interfaces:
IPreAggregationAndOrPostAggregationTask

public class CleanupPIRecordsTask
extends java.lang.Object
implements IPreAggregationAndOrPostAggregationTask

Removes processed PIRecords for the given StatisticsServer from the database according to the configured processing limit.

Allowed TaskExecutionModes:

Version:
$Revision: 1571 $
Author:
Daniel Dietz

Constructor Summary
CleanupPIRecordsTask()
           
 
Method Summary
 void execute(TaskExecutionMode mode, StatisticsServer statisticsServer, DataAggregationJobletConfiguration config, Bundle bundle)
          Removes processed PIRecords for the given StatisticsServer from the database according to the configured processing limit.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CleanupPIRecordsTask

public CleanupPIRecordsTask()
Method Detail

execute

public final void execute(TaskExecutionMode mode, StatisticsServer statisticsServer, DataAggregationJobletConfiguration config, Bundle bundle)
Removes processed PIRecords for the given StatisticsServer from the database according to the configured processing limit.

The PIRecords are being removed as follows:

.

Specified by:
execute in interface IPreAggregationAndOrPostAggregationTask
Parameters:
mode - [UNUSED] the current TaskExecutionMode
statisticsServer - the current StatisticsServer
config - the DataAggregationJobletConfiguration
bundle - [UNUSED] the current Bundle, e.g. for retrieving a Configuration