|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.protocol.http.IRequestLogger.SessionData
public static class IRequestLogger.SessionData
This class hold the information one request of a session has.
Constructor Summary | |
---|---|
IRequestLogger.SessionData(String sessionId)
Construct. |
Method Summary | |
---|---|
void |
addTimeTaken(long time)
Adds time to the total server time. |
int |
compareTo(IRequestLogger.SessionData sd)
|
Date |
getLastActive()
|
long |
getNumberOfRequests()
|
String |
getSessionId()
|
Object |
getSessionInfo()
|
long |
getSessionSize()
|
Date |
getStartDate()
|
long |
getTotalTimeTaken()
|
void |
setSessionInfo(Object sessionInfo)
Sets additional session info (e.g. |
void |
setSessionSize(long size)
Sets the recorded session size. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IRequestLogger.SessionData(String sessionId)
sessionId
- Method Detail |
---|
public Date getLastActive()
public Date getStartDate()
public long getNumberOfRequests()
public long getSessionSize()
public long getTotalTimeTaken()
public Object getSessionInfo()
IRequestLogger.ISessionLogInfo.getSessionInfo()
session method.public String getSessionId()
public void addTimeTaken(long time)
time
to the total server time.
time
- public void setSessionInfo(Object sessionInfo)
sessionInfo
- public void setSessionSize(long size)
size
- public int compareTo(IRequestLogger.SessionData sd)
compareTo
in interface Comparable<IRequestLogger.SessionData>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |