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

java.lang.Object
  extended by org.torweg.pulse.component.statistics.aggregator.AbstractBaseAggregator
Direct Known Subclasses:
AbstractAggregator, AbstractRegexVersionedPerVisitAggregator, PathTreeAggregator, RefererTreeAggregator, ScreenResolutionPerVisitAggregator

public abstract class AbstractBaseAggregator
extends java.lang.Object

Abstract base-class to derive an aggregation for the DataAggregationJoblet from.

Version:
$Revision: 1541 $
Author:
Daniel Dietz

Constructor Summary
AbstractBaseAggregator()
           
 
Method Summary
abstract  void aggregate(Visit visit, org.hibernate.Session s)
          Processes and aggregates the passed Visits.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractBaseAggregator

public AbstractBaseAggregator()
Method Detail

aggregate

public abstract void aggregate(Visit visit,
                               org.hibernate.Session s)
Processes and aggregates the passed Visits.

NOTE:
This method is wrapped by an org.hibernate.Transaction which is being opened before and committed afterwards for each passed Visit in the calling DataAggregationJoblet.

Parameters:
visit - the Visit to be processed
s - the current hibernateTM-Session