comparison src/org/eclipse/jetty/server/handler/HandlerCollection.java @ 875:b9aa175d9a29

remove Server.getThreadPool()
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 04 Oct 2016 13:45:47 -0600
parents 6b210bb66c63
children 32d4b569567c
comparison
equal deleted inserted replaced
874:ad495e897c32 875:b9aa175d9a29
191 final CountDownLatch latch = new CountDownLatch(_handlers.length); 191 final CountDownLatch latch = new CountDownLatch(_handlers.length);
192 final ClassLoader loader = Thread.currentThread().getContextClassLoader(); 192 final ClassLoader loader = Thread.currentThread().getContextClassLoader();
193 for (int i=0;i<_handlers.length;i++) 193 for (int i=0;i<_handlers.length;i++)
194 { 194 {
195 final int h=i; 195 final int h=i;
196 getServer().getThreadPool().execute( 196 getServer().threadPool.execute(
197 new Runnable() 197 new Runnable()
198 { 198 {
199 public void run() 199 public void run()
200 { 200 {
201 ClassLoader orig = Thread.currentThread().getContextClassLoader(); 201 ClassLoader orig = Thread.currentThread().getContextClassLoader();