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 org.apache.wicket.devutils.inspector.InspectorBug that shows
the org.apache.wicket.devutils.inspector.InspectorPage with the org.apache.wicket.devutils.inspector.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.