|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.jmx.RequestLogger
public class RequestLogger
Exposes RequestLogger for JMX.
| Constructor Summary | |
|---|---|
RequestLogger(Application application)
Construct. |
|
| Method Summary | |
|---|---|
Integer |
getNumberOfCreatedSessions()
Total number of sessions ever created since the application was started. |
Integer |
getNumberOfCurrentActiveRequests()
Gets the current active requests number |
Integer |
getNumberOfLiveSessions()
Gets the (recorded) number of currently live sessions. |
Integer |
getPeakNumberOfActiveRequests()
The high water mark for the number of requests being processed concurrently |
Integer |
getPeakNumberOfSessions()
The largest number of concurrent sessions since the application was started. |
protected IRequestLogger |
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(Application application)
application - The application| Method Detail |
|---|
public Integer getNumberOfCreatedSessions()
throws IOException
RequestLoggerMBean
Only available for web applications.
getNumberOfCreatedSessions in interface RequestLoggerMBeanIOExceptionRequestLoggerMBean.getNumberOfCreatedSessions()
public Integer getNumberOfLiveSessions()
throws IOException
RequestLoggerMBean
Only available for web applications.
getNumberOfLiveSessions in interface RequestLoggerMBeanIOExceptionRequestLoggerMBean.getNumberOfLiveSessions()
public Integer getPeakNumberOfSessions()
throws IOException
RequestLoggerMBean
Only available for web applications.
getPeakNumberOfSessions in interface RequestLoggerMBeanIOExceptionRequestLoggerMBean.getPeakNumberOfSessions()
public Integer getNumberOfCurrentActiveRequests()
throws IOException
RequestLoggerMBean
getNumberOfCurrentActiveRequests in interface RequestLoggerMBeanIOExceptionRequestLoggerMBean.getNumberOfCurrentActiveRequests()
public Integer getPeakNumberOfActiveRequests()
throws IOException
RequestLoggerMBean
getPeakNumberOfActiveRequests in interface RequestLoggerMBeanIOExceptionRequestLoggerMBean.getPeakNumberOfActiveRequests()
public void restart()
throws IOException
RequestLoggerMBean
Only available for web applications.
restart in interface RequestLoggerMBeanIOExceptionRequestLoggerMBean.restart()
public void stop()
throws IOException
RequestLoggerMBean
Only available for web applications.
stop in interface RequestLoggerMBeanIOExceptionRequestLoggerMBean.stop()protected IRequestLogger getRequestLogger()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||