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:
- MMBaseStarter, Serializable, Servlet, ServletConfig
- 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,v 1.15 2005/05/14 14:04:44 nico Exp $
- Author:
- vpro
- See Also:
- Serialized Form
- Warning: Will be renamed to:
- Performance
| Methods inherited from class org.mmbase.servlet.BridgeServlet |
desperatelyGetNode, findCloud, getAnonymousCloud, getClassCloud, getCloud, getCloudName, getLastModified, getNode, getServedNode, main, readQuery, readQuery, readServletPath |
| Methods inherited from class org.mmbase.servlet.MMBaseServlet |
associateMapping, checkInited, decRefCount, destroy, getAssociations, 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- Warning: No Java Documentation Available.
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- Warning: No Java Documentation Available.
stub
protected void stub()
- Warning: No Java Documentation Available.
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 build 1.8.1.20060716