Package org.glassfish.web.admin.monitor
Class ServletInstanceStatsProvider
- java.lang.Object
-
- org.glassfish.web.admin.monitor.ServletInstanceStatsProvider
-
@AMXMetadata(type="servlet-instance-mon", group="monitoring") @ManagedObject @Description("Web Container Servlet Instance Statistics") public class ServletInstanceStatsProvider extends Object
Provides the monitoring data at the Web container level- Author:
- Shing Wai Chan
-
-
Constructor Summary
Constructors Constructor Description ServletInstanceStatsProvider(String servletName, String moduleName, String vsName, ServletStatsProvider servletStatsProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterServiceEvent(String servletName, int responseStatus, String appName, String hostName)
void
beforeServiceEvent(String servletName, String appName, String hostName)
org.glassfish.external.statistics.CountStatistic
getCount()
org.glassfish.external.statistics.CountStatistic
getErrorCount()
org.glassfish.external.statistics.CountStatistic
getMaximumTime()
String
getModuleName()
org.glassfish.external.statistics.CountStatistic
getProcessingTime()
org.glassfish.external.statistics.CountStatistic
getServiceTime()
String
getVSName()
void
reset()
-
-
-
Constructor Detail
-
ServletInstanceStatsProvider
public ServletInstanceStatsProvider(String servletName, String moduleName, String vsName, ServletStatsProvider servletStatsProvider)
-
-
Method Detail
-
getModuleName
public String getModuleName()
-
getVSName
public String getVSName()
-
getErrorCount
@ManagedAttribute(id="errorcount") @Description("Number of error responses (that is, responses with a status code greater than or equal to 400)") public org.glassfish.external.statistics.CountStatistic getErrorCount()
-
getMaximumTime
@ManagedAttribute(id="maxtime") @Description("Maximum response time") public org.glassfish.external.statistics.CountStatistic getMaximumTime()
-
getServiceTime
@ManagedAttribute(id="servicetime") @Description("Aggregate response time") public org.glassfish.external.statistics.CountStatistic getServiceTime()
-
getProcessingTime
@ManagedAttribute(id="processingtime") @Description("Average response time") public org.glassfish.external.statistics.CountStatistic getProcessingTime()
-
getCount
@ManagedAttribute(id="requestcount") @Description("Number of requests processed") public org.glassfish.external.statistics.CountStatistic getCount()
-
beforeServiceEvent
public void beforeServiceEvent(String servletName, String appName, String hostName)
-
afterServiceEvent
public void afterServiceEvent(String servletName, int responseStatus, String appName, String hostName)
-
reset
public void reset()
-
-