de.uplanet.lucy.server.monitor.log.userreport
Class AppVisit

java.lang.Object
  extended by de.uplanet.lucy.server.monitor.log.userreport.VisitBase
      extended by de.uplanet.lucy.server.monitor.log.userreport.AppVisit

public class AppVisit
extends de.uplanet.lucy.server.monitor.log.userreport.VisitBase

Stores the visits of a application for a certain user and session.

Version:
$Revision: 83657 $

Constructor Summary
AppVisit(de.uplanet.lucy.server.monitor.log.LogEntry p_entry)
          Constructor
 
Method Summary
 int getPageCalls()
           
 int getPageCount()
           
 java.util.Iterator<PageVisit> getPages(java.util.Comparator<PageVisit> p_comp)
           
 long getWorkingTime()
           
 IValueHolder<?> getWorkingTimeVH()
           
 boolean setEndpoint(long p_lTimeOut, long p_lInactivity, de.uplanet.lucy.server.monitor.log.LogEntry p_entry)
          Refreshes the endpoint of the visit.
 
Methods inherited from class de.uplanet.lucy.server.monitor.log.userreport.VisitBase
getDuration, getDurationVH, getEndpoint, getEndpointVH, getGuid, getStartpoint, getStartpointVH, newStartPoint
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppVisit

public AppVisit(de.uplanet.lucy.server.monitor.log.LogEntry p_entry)
Constructor

Parameters:
p_entry - The current log entry.
Method Detail

getPageCount

public int getPageCount()
Returns:
Number of visited Pages.

setEndpoint

public boolean setEndpoint(long p_lTimeOut,
                           long p_lInactivity,
                           de.uplanet.lucy.server.monitor.log.LogEntry p_entry)
Description copied from class: de.uplanet.lucy.server.monitor.log.userreport.VisitBase
Refreshes the endpoint of the visit. The new endpoint has to be later than the previous one.

Specified by:
setEndpoint in class de.uplanet.lucy.server.monitor.log.userreport.VisitBase
Parameters:
p_lTimeOut - Session timeout.
p_lInactivity - Time till inactivity.
p_entry - The current entry of the logfile.
Returns:
True if the new point was set and false if a new session has begun.

getPages

public java.util.Iterator<PageVisit> getPages(java.util.Comparator<PageVisit> p_comp)
Parameters:
p_comp - Comparator for the iterators order.
Returns:
Sorted iterator of the pages.

getPageCalls

public int getPageCalls()
Returns:
Number of page calls.

getWorkingTime

public long getWorkingTime()
Specified by:
getWorkingTime in class de.uplanet.lucy.server.monitor.log.userreport.VisitBase
Returns:
The time the user spend working during this visit.

getWorkingTimeVH

public IValueHolder<?> getWorkingTimeVH()
Specified by:
getWorkingTimeVH in class de.uplanet.lucy.server.monitor.log.userreport.VisitBase
Returns:
The time the user spend working during this visit.


Last updated: 2011-01-27
Copyright 2000-2010 United Planet. All Rights Reserved.