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 Details

  • Method Details

    • 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()