Package org.glassfish.web.admin.monitor
Class RequestStatsProvider
java.lang.Object
org.glassfish.web.admin.monitor.RequestStatsProvider
@AMXMetadata(type="web-request-mon",
group="monitoring")
@ManagedObject
@Description("Web Request Statistics")
public class RequestStatsProvider
extends Object
Provides the monitoring data at the Web container level
- Author:
- Prashanth Abbagani
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.glassfish.external.statistics.CountStatisticorg.glassfish.external.statistics.CountStatisticorg.glassfish.external.statistics.CountStatisticlongorg.glassfish.external.statistics.CountStatisticvoidrequestEndEvent(String appName, String hostName, String serverName, int serverPort, String contextPath, String servletPath, int statusCode, String method, String uri) voidrequestStartEvent(String appName, String hostName, String serverName, int serverPort, String contextPath, String servletPath) voidreset()
-
Constructor Details
-
RequestStatsProvider
-
-
Method Details
-
getErrorCount
@ManagedAttribute(id="errorcount") @Description("Cumulative value of the error count, with error count representing the number of cases where the response code was greater than or equal to 400") public org.glassfish.external.statistics.CountStatistic getErrorCount() -
getRequestCount
@ManagedAttribute(id="requestcount") @Description("Cumulative number of requests processed so far") public org.glassfish.external.statistics.CountStatistic getRequestCount() -
getMaxTime
@ManagedAttribute(id="maxtime") @Description("Longest response time for a request; not a cumulative value, but the largest response time from among the response times") public org.glassfish.external.statistics.CountStatistic getMaxTime() -
getProcessingTime
@ManagedAttribute(id="processingtime") @Description("Average request processing time") public org.glassfish.external.statistics.CountStatistic getProcessingTime() -
requestStartEvent
-
requestEndEvent
-
getProcessTime
public long getProcessTime() -
getModuleName
-
getVSName
-
reset
public void reset()
-