Subversion Repositories XServices

Rev

Rev 102 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 102 Rev 185
Line 26... Line 26...
26
/**
26
/**
27
 * @author Brian Rosenberger, bru(at)brutex.de
27
 * @author Brian Rosenberger, bru(at)brutex.de
28
 *
28
 *
29
 */
29
 */
Line 30... Line -...
30
 
-
 
31
 
-
 
32
 
-
 
33
public class CacheExecutorService
30
 
34
  implements ServletContextListener
-
 
35
{
31
public class CacheExecutorService implements ServletContextListener {
36
  static final String EXECUTOR_NAME = "CACHE_EXECUTOR";
32
	static final String EXECUTOR_NAME = "CACHE_EXECUTOR";
Line 37... Line 33...
37
  private ExecutorService executor;
33
	private ExecutorService executor;
38
 
-
 
39
  public void contextInitialized(ServletContextEvent arg0)
34
 
40
  {
35
	public void contextInitialized(ServletContextEvent arg0) {
41
    ServletContext context = arg0.getServletContext();
36
		ServletContext context = arg0.getServletContext();
42
    int nr_executors = 5;
37
		int nr_executors = 5;
43
    ThreadFactory daemonFactory = new DaemonThreadFactory();
38
		ThreadFactory daemonFactory = new DaemonThreadFactory();