|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jwall.web.audit.session.AbstractSessionTracker
org.jwall.web.audit.session.HeuristicSessionTracker
public class HeuristicSessionTracker
This heuristic session-tracker implements the session-algorithm used by most popular web-statistic tools, e.g. WUM.
| Field Summary |
|---|
| Fields inherited from class org.jwall.web.audit.session.AbstractSessionTracker |
|---|
activeSessions, sessionTimeOut, timedOutSessions, type |
| Constructor Summary | |
|---|---|
HeuristicSessionTracker(long sessionTime)
This constructor creates a session-tracker based on heuristics. |
|
| Method Summary | |
|---|---|
java.lang.String |
extractKey(AuditEvent evt)
Since this tracker simply relies on the remote address as session key, this method will just return the event's sender-address. |
java.lang.String |
toString()
This method returns a string of all events grouped by their session-id. |
| Methods inherited from class org.jwall.web.audit.session.AbstractSessionTracker |
|---|
eventArrived, expireSession, getSession, getSessions, getSessionTimeOut, isExpired, reset, setSessionTimeOut, setStrictSessions, usesStrictSessions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HeuristicSessionTracker(long sessionTime)
sessionTime - | Method Detail |
|---|
public java.lang.String extractKey(AuditEvent evt)
extractKey in class AbstractSessionTrackerevt - The AuditEvent to extract a key-id from.
public java.lang.String toString()
AbstractSessionTracker
toString in class AbstractSessionTracker
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||