Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.product.servlet.mbean
Class ServletInfo

java.lang.Object
  extended by org.hyperic.hq.product.servlet.mbean.ServletInfo
All Implemented Interfaces:
org.hyperic.hq.product.servlet.mbean.ServletInfoMBean

public final class ServletInfo
extends java.lang.Object
implements org.hyperic.hq.product.servlet.mbean.ServletInfoMBean

Needs to be configured in each web application.


Constructor Summary
ServletInfo()
           
 
Method Summary
 int getAvailable()
           
 int getAvgTime()
           
 int getErrorCount()
           
 int getMaxTime()
           
 int getMinTime()
           
 int getRequestCount()
           
 java.lang.String getServletPath()
           
 long getTotalTime()
           
 void setAvailable(int available)
           
 void setServletPath(java.lang.String servletPath)
           
 void updateTimes(int time, boolean isError, int clIn, int clOut)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletInfo

public ServletInfo()
Method Detail

getAvailable

public int getAvailable()
Specified by:
getAvailable in interface org.hyperic.hq.product.servlet.mbean.ServletInfoMBean

setAvailable

public void setAvailable(int available)

getServletPath

public java.lang.String getServletPath()
Specified by:
getServletPath in interface org.hyperic.hq.product.servlet.mbean.ServletInfoMBean

setServletPath

public void setServletPath(java.lang.String servletPath)
Specified by:
setServletPath in interface org.hyperic.hq.product.servlet.mbean.ServletInfoMBean

getTotalTime

public long getTotalTime()
Specified by:
getTotalTime in interface org.hyperic.hq.product.servlet.mbean.ServletInfoMBean

getMinTime

public int getMinTime()
Specified by:
getMinTime in interface org.hyperic.hq.product.servlet.mbean.ServletInfoMBean

getMaxTime

public int getMaxTime()
Specified by:
getMaxTime in interface org.hyperic.hq.product.servlet.mbean.ServletInfoMBean

getAvgTime

public int getAvgTime()
Specified by:
getAvgTime in interface org.hyperic.hq.product.servlet.mbean.ServletInfoMBean

getRequestCount

public int getRequestCount()
Specified by:
getRequestCount in interface org.hyperic.hq.product.servlet.mbean.ServletInfoMBean

getErrorCount

public int getErrorCount()
Specified by:
getErrorCount in interface org.hyperic.hq.product.servlet.mbean.ServletInfoMBean

updateTimes

public void updateTimes(int time,
                        boolean isError,
                        int clIn,
                        int clOut)
                 throws java.io.IOException,
                        javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.