|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwicket.jmx.RequestLogger
public class RequestLogger
Exposes RequestLogger for JMX.
| Constructor Summary | |
|---|---|
RequestLogger(wicket.Application application)
Construct. |
|
| Method Summary | |
|---|---|
java.lang.Integer |
getNumberOfCreatedSessions()
Total number of sessions ever created since the application was started. |
java.lang.Integer |
getNumberOfLiveSessions()
Gets the (recorded) number of currently live sessions. |
java.lang.Integer |
getPeakNumberOfSessions()
The largest number of concurrent sessions since the application was started. |
protected wicket.protocol.http.RequestLogger |
getRequestLogger()
Gets the request logger for this application. |
void |
restart()
Registers a new request logger at the application. |
void |
stop()
Removes any set request logger from the application. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RequestLogger(wicket.Application application)
application - The application| Method Detail |
|---|
public java.lang.Integer getNumberOfCreatedSessions()
throws java.io.IOException
RequestLoggerMBean
Only available for web applications.
getNumberOfCreatedSessions in interface RequestLoggerMBeanjava.io.IOExceptionRequestLoggerMBean.getNumberOfCreatedSessions()
public java.lang.Integer getNumberOfLiveSessions()
throws java.io.IOException
RequestLoggerMBean
Only available for web applications.
getNumberOfLiveSessions in interface RequestLoggerMBeanjava.io.IOExceptionRequestLoggerMBean.getNumberOfLiveSessions()
public java.lang.Integer getPeakNumberOfSessions()
throws java.io.IOException
RequestLoggerMBean
Only available for web applications.
getPeakNumberOfSessions in interface RequestLoggerMBeanjava.io.IOExceptionRequestLoggerMBean.getPeakNumberOfSessions()
public void restart()
throws java.io.IOException
RequestLoggerMBean
Only available for web applications.
restart in interface RequestLoggerMBeanjava.io.IOExceptionRequestLoggerMBean.restart()
public void stop()
throws java.io.IOException
RequestLoggerMBean
Only available for web applications.
stop in interface RequestLoggerMBeanjava.io.IOExceptionRequestLoggerMBean.stop()protected wicket.protocol.http.RequestLogger getRequestLogger()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||