|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.protocol.http.AbstractRequestLogger org.apache.wicket.protocol.http.RequestLogger
public class RequestLogger
This is the logger class that can be set in the
Application.getRequestLogger()
method. If this class
is set all request and live sessions will be recorded and displayed From the total created
sessions, to the peak session count and the current live sessions. For the live sessions the
request logger will record what request are happening what kind of IRequestHandler
was
the event target and what IRequestHandler
was the response target. It also records what
session data was touched for this and how long the request did take.
To view this information live see the InspectorBug
that shows the InspectorPage
with the LiveSessionsPage
.
This implementation uses a rounded buffer for storing the request data, and strives to minimize
contention on accessing the rounded buffer. At the beginning of your application start, the
buffer is empty and fills up during the lifetime of the application until the window size has
been reached, and new requests are written to the position containing the oldest request.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.wicket.protocol.http.IRequestLogger |
---|
IRequestLogger.ISessionLogInfo, IRequestLogger.RequestData, IRequestLogger.SessionData |
Constructor Summary | |
---|---|
RequestLogger()
|
Method Summary | |
---|---|
protected void |
log(IRequestLogger.RequestData rd,
IRequestLogger.SessionData sd)
|
Methods inherited from class org.apache.wicket.protocol.http.AbstractRequestLogger |
---|
addRequest, formatDate, getAverageRequestTime, getCurrentActiveRequestCount, getCurrentRequest, getLiveSessions, getPeakActiveRequestCount, getPeakSessions, getRequests, getRequestsPerMinute, getTotalCreatedSessions, logEventTarget, logRequestedUrl, logResponseTarget, objectCreated, objectRemoved, objectUpdated, requestTime, sessionCreated, sessionDestroyed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestLogger()
Method Detail |
---|
protected void log(IRequestLogger.RequestData rd, IRequestLogger.SessionData sd)
log
in class AbstractRequestLogger
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |