com.caucho.management.server
Interface WebAppMXBean

All Superinterfaces:
DeployControllerMXBean, ManagedObjectMXBean
All Known Implementing Classes:
WebAppAdmin

public interface WebAppMXBean
extends DeployControllerMXBean

MBean API for the WebApp.

 resin:type=WebAppMBean,name=/wiki,Host=foo.com
 


Method Summary
 long getClientDisconnectCountTotal()
          Returns the number of connections that have ended with a ClientDisconnectException for this web-app in it's lifetime.
 java.lang.String getContextPath()
          Returns the application's context path.
 HostMXBean getHost()
          Returns the owning host
 int getRequestCount()
          Returns the current number of requests being serviced by the web-app.
 long getRequestCountTotal()
          Returns the total number of requests serviced by the web-app since it started.
 long getRequestReadBytesTotal()
          Returns the total number of bytes that requests serviced by this web-app have read.
 long getRequestTimeTotal()
          Returns the total duration in milliseconds that connections serviced by this web-app have taken.
 long getRequestWriteBytesTotal()
          Returns the total number of bytes that connections serviced by this web-app have written.
 java.lang.String getRootDirectory()
          Returns the root directory.
 SessionManagerMXBean getSessionManager()
          Returns the session manager
 long getStatus500CountTotal()
          Returns the number of 500 status requests
 java.util.Date getStatus500LastTime()
          Returns the time of the last 500 status requests
 
Methods inherited from interface com.caucho.management.server.DeployControllerMXBean
getRedeployCheckInterval, getRedeployMode, getStartTime, getStartupMode, getState, restart, start, stop, update
 
Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean
getName, getObjectName, getType
 

Method Detail

getHost

HostMXBean getHost()
Returns the owning host


getSessionManager

SessionManagerMXBean getSessionManager()
Returns the session manager


getRootDirectory

java.lang.String getRootDirectory()
Returns the root directory.


getContextPath

java.lang.String getContextPath()
Returns the application's context path.


getStatus500CountTotal

long getStatus500CountTotal()
Returns the number of 500 status requests


getStatus500LastTime

java.util.Date getStatus500LastTime()
Returns the time of the last 500 status requests


getRequestCount

int getRequestCount()
Returns the current number of requests being serviced by the web-app.


getRequestCountTotal

long getRequestCountTotal()
Returns the total number of requests serviced by the web-app since it started.


getRequestTimeTotal

@Units(value="milliseconds")
long getRequestTimeTotal()
Returns the total duration in milliseconds that connections serviced by this web-app have taken.


getRequestReadBytesTotal

@Units(value="bytes")
long getRequestReadBytesTotal()
Returns the total number of bytes that requests serviced by this web-app have read.


getRequestWriteBytesTotal

@Units(value="bytes")
long getRequestWriteBytesTotal()
Returns the total number of bytes that connections serviced by this web-app have written.


getClientDisconnectCountTotal

long getClientDisconnectCountTotal()
Returns the number of connections that have ended with a ClientDisconnectException for this web-app in it's lifetime.