public interface StatisticUpdaterDao
Each statistic table has a corresponding IStatisticUpdater configured, which takes care of regenerating the statistic table.
Note that regenerating the statistic table means first flushing the whole content then generating it again.
We might later on come about more clever ways to update deltas only - but for now this seems just fine.
NOTE: It is the duty of the IStatisticUpdater to register itself with the StatisticUpdaterManager in order to be called by the cronjob or via admin console !!!
Initial Date: 12.02.2010
限定符和类型 | 方法和说明 |
---|---|
void |
updateStatistic(boolean fullRecalculation,
java.util.Date from,
java.util.Date until)
Update the statistic table belonging to this implementor
|
void updateStatistic(boolean fullRecalculation, java.util.Date from, java.util.Date until)
fullRecalculation
- when set to true the statisticupdater should do a complete recalc of all stats, rather than updating since the last call to updateStatisticfrom
- update the statistics starting at the given from date - note that this is never null irrespective of fullRecalculation true or falseuntil
- update the statistics ending at the given until date - this is never nullstatisticUpdateManager
- the StatisticUpdateManager is passed to the IStatisticUpdater for callbacks and utility functions such as access to the lastUpdated property