|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.component.statistics.aggregator.AbstractBaseAggregator
org.torweg.pulse.component.statistics.aggregator.AbstractRegexVersionedPerVisitAggregator<UserAgent,UserAgentPerVisitAggregation>
org.torweg.pulse.component.statistics.aggregator.UserAgentPerVisitAggregator
public final class UserAgentPerVisitAggregator
Aggregates information about the UserAgent.
| Constructor Summary | |
|---|---|
UserAgentPerVisitAggregator()
|
|
| Method Summary | |
|---|---|
protected UserAgentPerVisitAggregation |
getAbstractRegexVersionedCounterAggregation(UserAgent userAgent, Visit visit, Duration fullDay,
org.hibernate.Session s)
Tries to load a matching UserAgentPerVisitAggregation for
the given UserAgent, the given Visit and the
given Duration. |
protected java.lang.String |
getCheckValue(Visit visit)
Returns the "user-agent-string" from the given Visit. |
protected java.util.List<UserAgent> |
getKnownAbstractRegexVersioneds(org.hibernate.Session s)
Returns all the known UserAgents. |
protected UserAgentPerVisitAggregation |
getNewAbstractRegexVersionedCounterAggregation(UserAgent userAgent, Visit visit, Duration fullDay)
Returns a new UserAgentPerVisitAggregation for the given
UserAgent, the given Visit and the given
Duration. |
protected UserAgent |
getUnknownAbstractRegexVersioned(org.hibernate.Session s)
Returns the UserAgent which represents the "unknown". |
| Methods inherited from class org.torweg.pulse.component.statistics.aggregator.AbstractRegexVersionedPerVisitAggregator |
|---|
aggregate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserAgentPerVisitAggregator()
| Method Detail |
|---|
protected java.util.List<UserAgent> getKnownAbstractRegexVersioneds(org.hibernate.Session s)
UserAgents.
getKnownAbstractRegexVersioneds in class AbstractRegexVersionedPerVisitAggregator<UserAgent,UserAgentPerVisitAggregation>s - the current HibernateTM-Session
List<UserAgent>#getKnownAbstractVersioneds()protected java.lang.String getCheckValue(Visit visit)
Visit.
getCheckValue in class AbstractRegexVersionedPerVisitAggregator<UserAgent,UserAgentPerVisitAggregation>visit - the Visit
protected UserAgent getUnknownAbstractRegexVersioned(org.hibernate.Session s)
UserAgent which represents the "unknown".
getUnknownAbstractRegexVersioned in class AbstractRegexVersionedPerVisitAggregator<UserAgent,UserAgentPerVisitAggregation>s - the current HibernateTM-Session
UserAgent which represents the "unknown"#getUnknownAbstractVersioned()
protected UserAgentPerVisitAggregation getAbstractRegexVersionedCounterAggregation(UserAgent userAgent, Visit visit, Duration fullDay,
org.hibernate.Session s)
UserAgentPerVisitAggregation for
the given UserAgent, the given Visit and the
given Duration.
getAbstractRegexVersionedCounterAggregation in class AbstractRegexVersionedPerVisitAggregator<UserAgent,UserAgentPerVisitAggregation>userAgent - the UserAgentvisit - the VisitfullDay - the Durations - the current HibernateTM-Session
UserAgentPerVisitAggregation if
available, null otherwise#getAbstractVersionCounterAggregation()protected UserAgentPerVisitAggregation getNewAbstractRegexVersionedCounterAggregation(UserAgent userAgent, Visit visit, Duration fullDay)
UserAgentPerVisitAggregation for the given
UserAgent, the given Visit and the given
Duration.
getNewAbstractRegexVersionedCounterAggregation in class AbstractRegexVersionedPerVisitAggregator<UserAgent,UserAgentPerVisitAggregation>userAgent - the UserAgentvisit - the VisitfullDay - the Duration
UserAgentPerVisitAggregation#
getNewAbstractRegexVersionedCounterAggregation(org.torweg.pulse.component.statistics
.model.AbstractVersioned,
org.torweg.pulse.component.statistics.model.Visit,
org.torweg.pulse.util.time.Duration)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||