Class ServletInfo


  • public class ServletInfo
    extends Object
    A model class representing a servlet.
    • Field Detail

      • applicationName

        private String applicationName
        The application name.
      • servletName

        private String servletName
        The servlet name.
      • servletClass

        private String servletClass
        The servlet class.
      • available

        private boolean available
        The available.
      • loadOnStartup

        private int loadOnStartup
        The load on startup.
      • runAs

        private String runAs
        The run as.
      • errorCount

        private int errorCount
        The error count.
      • loadTime

        private long loadTime
        The load time.
      • maxTime

        private long maxTime
        The max time.
      • minTime

        private long minTime
        The min time.
      • processingTime

        private long processingTime
        The processing time.
      • requestCount

        private int requestCount
        The request count.
      • singleThreaded

        private boolean singleThreaded
        The single threaded.
      • allocationCount

        private int allocationCount
        The allocation count.
      • maxInstances

        private int maxInstances
        The max instances.
      • mappings

        private List<String> mappings
        The mappings.
    • Constructor Detail

      • ServletInfo

        public ServletInfo()
        ServletInfo Constructor.
    • Method Detail

      • getApplicationName

        public String getApplicationName()
        Gets the application name.
        Returns:
        the application name
      • setApplicationName

        public void setApplicationName​(String applicationName)
        Sets the application name.
        Parameters:
        applicationName - the new application name
      • getServletName

        public String getServletName()
        Gets the servlet name.
        Returns:
        the servlet name
      • setServletName

        public void setServletName​(String servletName)
        Sets the servlet name.
        Parameters:
        servletName - the new servlet name
      • getServletClass

        public String getServletClass()
        Gets the servlet class.
        Returns:
        the servlet class
      • setServletClass

        public void setServletClass​(String servletClass)
        Sets the servlet class.
        Parameters:
        servletClass - the new servlet class
      • isAvailable

        public boolean isAvailable()
        Checks if is available.
        Returns:
        true, if is available
      • setAvailable

        public void setAvailable​(boolean available)
        Sets the available.
        Parameters:
        available - the new available
      • getLoadOnStartup

        public int getLoadOnStartup()
        Gets the load on startup.
        Returns:
        the load on startup
      • setLoadOnStartup

        public void setLoadOnStartup​(int loadOnStartup)
        Sets the load on startup.
        Parameters:
        loadOnStartup - the new load on startup
      • getRunAs

        public String getRunAs()
        Gets the run as.
        Returns:
        the run as
      • setRunAs

        public void setRunAs​(String runAs)
        Sets the run as.
        Parameters:
        runAs - the new run as
      • getErrorCount

        public int getErrorCount()
        Gets the error count.
        Returns:
        the error count
      • setErrorCount

        public void setErrorCount​(int errorCount)
        Sets the error count.
        Parameters:
        errorCount - the new error count
      • getLoadTime

        public long getLoadTime()
        Gets the load time.
        Returns:
        the load time
      • setLoadTime

        public void setLoadTime​(long loadTime)
        Sets the load time.
        Parameters:
        loadTime - the new load time
      • getMaxTime

        public long getMaxTime()
        Gets the max time.
        Returns:
        the max time
      • setMaxTime

        public void setMaxTime​(long maxTime)
        Sets the max time.
        Parameters:
        maxTime - the new max time
      • getMinTime

        public long getMinTime()
        Gets the min time.
        Returns:
        the min time
      • setMinTime

        public void setMinTime​(long minTime)
        Sets the min time.
        Parameters:
        minTime - the new min time
      • getProcessingTime

        public long getProcessingTime()
        Gets the processing time.
        Returns:
        the processing time
      • setProcessingTime

        public void setProcessingTime​(long processingTime)
        Sets the processing time.
        Parameters:
        processingTime - the new processing time
      • getRequestCount

        public int getRequestCount()
        Gets the request count.
        Returns:
        the request count
      • setRequestCount

        public void setRequestCount​(int requestCount)
        Sets the request count.
        Parameters:
        requestCount - the new request count
      • isSingleThreaded

        public boolean isSingleThreaded()
        Checks if is single threaded.
        Returns:
        true, if is single threaded
      • setSingleThreaded

        public void setSingleThreaded​(boolean singleThreaded)
        Sets the single threaded.
        Parameters:
        singleThreaded - the new single threaded
      • getAllocationCount

        public int getAllocationCount()
        Gets the allocation count.
        Returns:
        the allocation count
      • setAllocationCount

        public void setAllocationCount​(int allocationCount)
        Sets the allocation count.
        Parameters:
        allocationCount - the new allocation count
      • getMaxInstances

        public int getMaxInstances()
        Gets the max instances.
        Returns:
        the max instances
      • setMaxInstances

        public void setMaxInstances​(int maxInstances)
        Sets the max instances.
        Parameters:
        maxInstances - the new max instances
      • getMappings

        public List<String> getMappings()
        Gets the mappings.
        Returns:
        the mappings
      • setMappings

        public void setMappings​(List<String> mappings)
        Sets the mappings.
        Parameters:
        mappings - the new mappings