|
|
|
|
|
||||||||||
| 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.AbstractTreeAggregation<PathTreeElement>
org.torweg.pulse.component.statistics.model.aggregation.PathTreeAggregation
@Entity public class PathTreeAggregation
The actual implementation of AbstractTreeAggregation which
stores the aggregated statistical data per PathTreeElement on a
"per Visit" 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 |
PathTreeAggregation()
Deprecated. |
|
PathTreeAggregation(PathTreeElement p, Duration duration)
Creates a new PathTreeAggregation for the given
PathTreeElement. |
| Method Summary | |
|---|---|
boolean |
aggregate(Visit visit,
org.hibernate.Session s)
NOT USED. |
int |
getBounces()
Returns the bounce-count. |
int |
getChildBounces()
Returns the child-bounce-count. |
int |
getChildHits()
Returns the number of hits on the children of the path. |
int |
getEntries()
Returns the entries-count. |
int |
getLeaves()
Returns the leaves-count. |
void |
increaseBounces(boolean increase)
Increases the bounce-counter 1. |
void |
increaseBounces(int v)
Increases the bounces by the given value v. |
void |
increaseChildBounces()
Increases the child-bounce-counter by 1. |
void |
increaseChildBounces(int v)
Increases the child bounces by the given value v. |
void |
increaseChildHits()
Increases the child hits by 1. |
void |
increaseChildHits(int v)
Increases the child hits by the given value v. |
void |
increaseEntries(boolean increase)
Increases the entries-counter by 1. |
void |
increaseEntries(int v)
Increases the entries counter by the given value v. |
void |
increaseLeaves(boolean increase)
Increases the leaves-counter by 1. |
void |
increaseLeaves(int v)
Increases the leaves counter by the given value v. |
boolean |
isAggregateable(Visit visit)
NOT USED. |
java.lang.String |
toString()
|
| Methods inherited from class org.torweg.pulse.component.statistics.model.aggregation.AbstractTreeAggregation |
|---|
getHits, getPath, increaseHits, increaseHits, setPath |
| Methods inherited from class org.torweg.pulse.component.statistics.model.aggregation.AbstractAggregation |
|---|
getDataResolution, getDuration, getEndMillis, getStartMillis, getStatisticsServer, setDuration, setEndMillis, setStartMillis, setStatisticsServer |
| 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 PathTreeAggregation()
public PathTreeAggregation(PathTreeElement p, Duration duration)
throws java.lang.NullPointerException
PathTreeAggregation for the given
PathTreeElement.
p - the PathTreeElementduration - the Duration
java.lang.NullPointerException - if the given path or dur is
null| Method Detail |
|---|
public final int getChildHits()
public final void increaseChildHits()
public final void increaseChildHits(int v)
v - the value to increase the counter bypublic final int getBounces()
public final void increaseBounces(boolean increase)
increase - true to actually increasepublic final void increaseBounces(int v)
v - the value to increase the counter bypublic final int getChildBounces()
public final void increaseChildBounces()
public final void increaseChildBounces(int v)
v - the value to increase the counter bypublic final int getEntries()
public final void increaseEntries(boolean increase)
increase - true to actually increasepublic final void increaseEntries(int v)
v - the value to increase the counter bypublic final int getLeaves()
public final void increaseLeaves(boolean increase)
increase - true to actually increasepublic final void increaseLeaves(int v)
v - the value to increase the counter by
public final boolean aggregate(Visit visit,
org.hibernate.Session s)
aggregate in class AbstractAggregationvisit - a Visits - the Session UNUSED
PulseException always
PulseException - always#aggregate(org.torweg.pulse.component.statistics.model.Visit)public final boolean isAggregateable(Visit visit)
isAggregateable in class AbstractAggregationvisit - a Visit
PulseException always
PulseException - always#isAggregateable(org.torweg.pulse.component.statistics.model.Visit)public final java.lang.String toString()
toString in class AbstractTreeAggregation<PathTreeElement>PathTreeAggregation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||