Class Monitor

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class Monitor
    extends CMSServlet
    Provide statistical queries of request and certificate records.
    Version:
    $Revision$, $Date$
    See Also:
    Serialized Form
    • Constructor Detail

      • Monitor

        public Monitor()
        Constructs query servlet.
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig sc)
                  throws javax.servlet.ServletException
        initialize the servlet. This servlet uses the template file 'monitor.template' to render the response.
        Specified by:
        init in interface javax.servlet.Servlet
        Overrides:
        init in class CMSServlet
        Parameters:
        sc - servlet configuration, read from the web.xml file
        Throws:
        javax.servlet.ServletException
      • process

        public void process​(CMSRequest cmsReq)
                     throws EBaseException
        Process the HTTP request.
        • http.param startTime start of time period to query
        • http.param endTime end of time period to query
        • http.param interval time between queries
        • http.param numberOfIntervals number of queries to run
        • http.param maxResults =number
        • http.param timeLimit =time
        Overrides:
        process in class CMSServlet
        Throws:
        EBaseException - if the servlet was unable to satisfactorily process the request