| java.lang.Object dinamica.PerformanceFilter
PerformanceFilter | public class PerformanceFilter implements Filter(Code) | | Servlet filter to generate a performance log
according to the configured filter map and
the init parameter "limit". A value of 0 will
log all requests, a value > 0 will log only those request
whose execution takes more than "limit" milliseconds.
Creation date: 5/jan/2004
Last Update: 5/jan/2004
(c) 2003 Martin Cordova
This code is released under the LGPL license
author: Martin Cordova |
destroy | public void destroy()(Code) | | clean up
|
saveLog | void saveLog(HttpServletRequest req, long t) throws Throwable(Code) | | Save performance record to output device (file, database table, etc.)
Parameters: req - HTTP Servlet Request to extract useful information Parameters: t - Elapsed time in milliseconds throws: Throwable - |
|
|