|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.util.entity.AbstractBasicEntity
org.torweg.pulse.component.statistics.model.aggregation.AbstractAggregation
org.torweg.pulse.component.statistics.model.aggregation.AbstractCountAggregation
org.torweg.pulse.component.statistics.model.aggregation.PIRecordCountAggregation
@Entity public class PIRecordCountAggregation
Aggregates the daily hits (page impressions as represented by PIRecords) per Visit being aggregated on a "per Hour" basis
for the set Duration.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.torweg.pulse.component.statistics.model.aggregation.AbstractAggregation |
|---|
AbstractAggregation.Hour |
| Field Summary |
|---|
| Fields inherited from class org.torweg.pulse.component.statistics.model.aggregation.AbstractAggregation |
|---|
LOGGER |
| Constructor Summary | |
|---|---|
protected |
PIRecordCountAggregation()
Deprecated. |
|
PIRecordCountAggregation(StatisticsServer server, Duration duration)
Creates a new PIRecordCountAggregation with the given StatisticsServer and the given Duration. |
| Method Summary | |
|---|---|
void |
accumulate(PIRecordCountAggregation aggr)
Adds the values of the given PIRecordCountAggregation if its
Duration lies within the Duration of the current PIRecordCountAggregation. |
boolean |
aggregate(Visit visit,
org.hibernate.Session s)
Aggregates the given Visit. |
int |
getCount(AbstractAggregation.Hour h)
Returns the hit count for the given PIRecordCountAggregation.Hour
. |
java.util.Set<PIRecordCountAggregationHitCounter> |
getHitCounters()
Returns the HitCounters. |
boolean |
isAggregateable(Visit visit)
Test if the given Visit is aggregate-able by this PIRecordCountAggregation. |
| Methods inherited from class org.torweg.pulse.component.statistics.model.aggregation.AbstractCountAggregation |
|---|
getCount, increase, increaseBy, setCount |
| Methods inherited from class org.torweg.pulse.component.statistics.model.aggregation.AbstractAggregation |
|---|
getDataResolution, getDuration, getEndMillis, getStartMillis, getStatisticsServer, setDuration, setEndMillis, setStartMillis, setStatisticsServer, toString |
| Methods inherited from class org.torweg.pulse.util.entity.AbstractBasicEntity |
|---|
compareTo, equals, getFullQualifiedClassNameJAXB, getId, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated protected PIRecordCountAggregation()
public PIRecordCountAggregation(StatisticsServer server, Duration duration)
PIRecordCountAggregation with the given StatisticsServer and the given Duration.
server - the StatisticsServerduration - the Duration| Method Detail |
|---|
public final java.util.Set<PIRecordCountAggregationHitCounter> getHitCounters()
HitCounters.
public final int getCount(AbstractAggregation.Hour h)
PIRecordCountAggregation.Hour
.
h - the PIRecordCountAggregation.Hour
public final boolean isAggregateable(Visit visit)
Visit is aggregate-able by this PIRecordCountAggregation.
isAggregateable in class AbstractAggregationvisit - the Visit
true if and only if this AbstractAggregation can
process the given Visit, false otherwise#isAggregateable(org.torweg.pulse.component.statistics.model.Visit)
public final boolean aggregate(Visit visit,
org.hibernate.Session s)
Visit.
aggregate in class AbstractAggregationvisit - the Visits - the Session UNUSED
true if and only if the Visit has been processed,
false otherwise#aggregate(org.torweg.pulse.component.statistics.model.Visit)public final void accumulate(PIRecordCountAggregation aggr)
PIRecordCountAggregation if its
Duration lies within the Duration of the current PIRecordCountAggregation.
aggr - the PIRecordCountAggregation
java.lang.NullPointerException - if the given PIRecordCountAggregation is null
java.lang.IllegalArgumentException - if the Duration of the given PIRecordCountAggregation does not lie within the Duration of the current PIRecordCountAggregation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||