org.mmbase.servlet
Class Performance
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.mmbase.servlet.MMBaseServlet
org.mmbase.servlet.BridgeServlet
org.mmbase.servlet.Performance
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig, MMBaseStarter
public class Performance
- extends BridgeServlet
Performance Servlet is used as a basic Servlet to test whether the installation of succeeded.
It also does a very basic test to measure how fast the JVM is.
- Version:
- $Id: Performance.java 34900 2009-05-01 16:29:42Z michiel $
- Author:
- vpro
- See Also:
- Serialized Form
| Methods inherited from class org.mmbase.servlet.BridgeServlet |
desperatelyGetNode, findCloud, getAnonymousCloud, getClassCloud, getCloud, getCloudName, getLastModified, getNode, getServedNode, readQuery, readQuery, readQueryFromRequestURI, readServletPath |
| Methods inherited from class org.mmbase.servlet.MMBaseServlet |
associateMapping, checkInited, decRefCount, destroy, getAssociations, getBasePath, getMMBase, getRequestURL, getServletByAssociation, getServletByMapping, getServletMappings, getServletMappingsByAssociation, incRefCount, service, setInitException, setMMBase |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INT_LOOP
public static final long INT_LOOP
- See Also:
- Constant Field Values
STRING_LOOP
public static final long STRING_LOOP
- See Also:
- Constant Field Values
METHOD_LOOP
public static final long METHOD_LOOP
- See Also:
- Constant Field Values
TEST_STRING
public static final String TEST_STRING
- See Also:
- Constant Field Values
Performance
public Performance()
init
public void init()
throws ServletException
- Description copied from class:
BridgeServlet
- Inits lastmodifiedField.
The init of an MMBaseServlet checks if MMBase is running. It not then it is started.
- Overrides:
init in class BridgeServlet
- Throws:
ServletException- Javadoc:
doGet
public void doGet(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
IOException
- Called by the server when a request is done.
- Overrides:
doGet in class MMBaseServlet
- Throws:
ServletException
IOException- Javadoc:
stub
protected void stub()
- Javadoc:
getServletInfo
public String getServletInfo()
- Info method, provides the user/server with some basic info on this Servlet
- Specified by:
getServletInfo in interface Servlet- Overrides:
getServletInfo in class MMBaseServlet
- Returns:
- a descriptive text
MMBase 2.0-SNAPSHOT - null