| java.lang.Object com.salmonllc.jsp.JspServlet
JspServlet | abstract public class JspServlet implements Servlet,HttpJspPage(Code) | | This servlet should be used as the parent of each generated JSP servlet used by the framework
by using the JSP Directive <@page extends="com.salmonllc.jsp.JspServlet">
Using the servlet will make your pages thread safe, compile response time stats on the server and make processing of salmon tags more efficient
|
Inner Class :public static class Timer | |
SALMON_CONTEXT_TOKEN | final public static String SALMON_CONTEXT_TOKEN(Code) | | |
SALMON_CREATE_PAGE_HEADER | final public static String SALMON_CREATE_PAGE_HEADER(Code) | | |
SALMON_SERVLET_KEY | final public static String SALMON_SERVLET_KEY(Code) | | |
_cacheControllers | public static boolean _cacheControllers(Code) | | |
_reqCount | public static int _reqCount(Code) | | |
addPageHit | public static void addPageHit(long time)(Code) | | Adds a page hit to the hit counter
|
addServiceListener | public static void addServiceListener(ServletServiceListener l)(Code) | | Adds a new listerner to this page to handle custom page events events.
|
destroy | final public void destroy()(Code) | | |
getAverageHitTime | public static long getAverageHitTime()(Code) | | Returns the average time per page hit in milliseconds.
|
getControllerCacheBytes | public static int getControllerCacheBytes()(Code) | | Returns the number of bytes used by the controller cache
|
getControllerCacheCount | public static int getControllerCacheCount()(Code) | | Returns the number of controllers in the cache
|
getFirstPageHitTime | public static long getFirstPageHitTime()(Code) | | Returns the time that the first page was requested from the server.
|
getPageHits | public static int getPageHits()(Code) | | Returns the number of page hits since the server was started.
|
getServerStartTime | public long getServerStartTime()(Code) | | Returns the time in milliseconds since the first page hit on the server
|
getTimersHashtable | public static Hashtable getTimersHashtable()(Code) | | Returns a hash table of timers recorded in the system
|
getTotalHitTime | public static long getTotalHitTime()(Code) | | Returns the total time per page hit in milliseconds.
|
isControllerCacheActive | public static boolean isControllerCacheActive()(Code) | | Returns true if the controller cache is being used
|
jspDestroy | public void jspDestroy()(Code) | | |
jspInit | public void jspInit()(Code) | | |
recordTimerActivity | public static synchronized void recordTimerActivity(String name, long time, Object o, boolean writeToMessageLog)(Code) | | Adds a hit to a particular activity. The average time for each named time can
be seen in the connection monitor servlet
|
recordTimerActivity | public static synchronized void recordTimerActivity(String name, long time, Object o)(Code) | | Adds a hit to a particular activity. The average time for each named time can
be seen in the connection monitor servlet
|
resetAllTimers | public static synchronized void resetAllTimers()(Code) | | Resets all page hit stats and timers
|
|
|