Mercurial > hg > digilib-old
comparison servlet3/src/main/java/digilib/servlet/DigilibServletConfiguration.java @ 930:333e60e5cae9
new counter for open requests.
author | robcast |
---|---|
date | Tue, 20 Dec 2011 15:51:36 +0100 |
parents | 66f1ba72d07b |
children | 7bcc6765c209 |
comparison
equal
deleted
inserted
replaced
929:e881ab1c2f47 | 930:333e60e5cae9 |
---|---|
22 package digilib.servlet; | 22 package digilib.servlet; |
23 | 23 |
24 import java.io.File; | 24 import java.io.File; |
25 import java.util.Map; | 25 import java.util.Map; |
26 import java.util.Map.Entry; | 26 import java.util.Map.Entry; |
27 import java.util.concurrent.atomic.AtomicInteger; | |
27 | 28 |
28 import javax.servlet.ServletContext; | 29 import javax.servlet.ServletContext; |
29 import javax.servlet.ServletException; | 30 import javax.servlet.ServletException; |
30 | 31 |
31 import digilib.image.DocuImageImpl; | 32 import digilib.image.DocuImageImpl; |
47 * | 48 * |
48 * @author casties | 49 * @author casties |
49 * | 50 * |
50 */ | 51 */ |
51 public class DigilibServletConfiguration extends DigilibConfiguration { | 52 public class DigilibServletConfiguration extends DigilibConfiguration { |
53 | |
54 /** counter for open HttpRequests (mostly for debugging) */ | |
55 public AtomicInteger openRequestCnt = new AtomicInteger(0); | |
52 | 56 |
53 /** | 57 /** |
54 * Definition of parameters and default values. | 58 * Definition of parameters and default values. |
55 */ | 59 */ |
56 protected void initParams() { | 60 protected void initParams() { |