|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRequestLogger
Interface for the request logger and viewer.
Application.newRequestLogger()
Method Summary | |
---|---|
int |
getCurrentActiveRequestCount()
|
RequestLogger.SessionData[] |
getLiveSessions()
|
int |
getPeakSessions()
|
java.util.List<RequestLogger.RequestData> |
getRequests()
This method returns a List of the current requests that are in mem. |
int |
getTotalCreatedSessions()
|
void |
logEventTarget(IRequestTarget target)
Sets the target that was the event target for the current request |
void |
logResponseTarget(IRequestTarget target)
Sets the target that was the response target for the current request |
void |
objectCreated(java.lang.Object value)
Called to monitor additions of objects in the ISessionStore |
void |
objectRemoved(java.lang.Object value)
Called to monitor removals of objects out of the ISessionStore |
void |
objectUpdated(java.lang.Object value)
Called to monitor updates of objects in the ISessionStore |
void |
requestTime(long timeTaken)
This method is called when the request is over. |
void |
sessionCreated(java.lang.String id)
called when the session is created and has an id. |
void |
sessionDestroyed(java.lang.String sessionId)
Method used to cleanup a livesession when the session was invalidated by the webcontainer |
Method Detail |
---|
int getTotalCreatedSessions()
int getPeakSessions()
java.util.List<RequestLogger.RequestData> getRequests()
RequestLogger.SessionData[] getLiveSessions()
int getCurrentActiveRequestCount()
void sessionCreated(java.lang.String id)
id
- the session idvoid sessionDestroyed(java.lang.String sessionId)
sessionId
- the session idvoid requestTime(long timeTaken)
timeTaken
- the time taken in millisecondsvoid objectRemoved(java.lang.Object value)
ISessionStore
value
- the object being removedvoid objectUpdated(java.lang.Object value)
ISessionStore
value
- the object being updatedvoid objectCreated(java.lang.Object value)
ISessionStore
value
- the object being created/addedvoid logResponseTarget(IRequestTarget target)
target
- the response targetvoid logEventTarget(IRequestTarget target)
target
- the event target
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |