comparison servlet3/src/main/java/digilib/servlet/DigilibServletConfiguration.java @ 937:7bcc6765c209

improved runtime statistics
author robcast
date Wed, 21 Dec 2011 19:18:16 +0100
parents 333e60e5cae9
children b2d97b842612
comparison
equal deleted inserted replaced
936:172079f9a398 937:7bcc6765c209
48 * 48 *
49 * @author casties 49 * @author casties
50 * 50 *
51 */ 51 */
52 public class DigilibServletConfiguration extends DigilibConfiguration { 52 public class DigilibServletConfiguration extends DigilibConfiguration {
53
54 /** time the webapp (i.e. this class) was loaded */
55 public final Long webappStartTime = System.currentTimeMillis();
56
57 /** counter for HttpRequests (mostly for debugging) */
58 public AtomicInteger webappRequestCnt = new AtomicInteger(0);
53 59
54 /** counter for open HttpRequests (mostly for debugging) */ 60 /** counter for open HttpRequests (mostly for debugging) */
55 public AtomicInteger openRequestCnt = new AtomicInteger(0); 61 public AtomicInteger openRequestCnt = new AtomicInteger(0);
56 62
57 /** 63 /**