|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.dbpool.StatisticsRequestListener
public class StatisticsRequestListener
This listener can be used to collect statistics for the database pool when to.etc.dbpool's pool manager is used. This collects the URL's used as input and collates database usage statistics per page.
Constructor Summary | |
---|---|
StatisticsRequestListener()
|
Method Summary | |
---|---|
static void |
createSessionStats(javax.servlet.http.HttpServletRequest r)
Create a HttpSession, and add a Session Statistics block there. |
static void |
destroySessionStats(javax.servlet.http.HttpServletRequest r)
Destroy any known session stats structure. |
static GlobalPerformanceStore |
getGlobalStore()
Returns the current global performance store maintained by this listener. |
static SessionStatistics |
getSessionStatistics(javax.servlet.http.HttpServletRequest r)
|
void |
requestDestroyed(javax.servlet.ServletRequestEvent ev)
|
void |
requestInitialized(javax.servlet.ServletRequestEvent ev)
|
static void |
setForceEncoding(java.lang.String forceEncoding)
Advanced horror mode: Internet Exploder, who else, does not send the charset it encoded the parameters with in it's content type for input received. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StatisticsRequestListener()
Method Detail |
---|
public static void setForceEncoding(java.lang.String forceEncoding)
forceEncoding
- public void requestDestroyed(javax.servlet.ServletRequestEvent ev)
requestDestroyed
in interface javax.servlet.ServletRequestListener
public void requestInitialized(javax.servlet.ServletRequestEvent ev)
requestInitialized
in interface javax.servlet.ServletRequestListener
ServletRequestListener.requestInitialized(javax.servlet.ServletRequestEvent)
public static void destroySessionStats(javax.servlet.http.HttpServletRequest r)
r
- public static void createSessionStats(javax.servlet.http.HttpServletRequest r)
r
- @Nullable public static SessionStatistics getSessionStatistics(javax.servlet.http.HttpServletRequest r)
public static GlobalPerformanceStore getGlobalStore()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |