comparison src/org/eclipse/jetty/server/Connector.java @ 865:6b210bb66c63

remove ThreadPool
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 02 Oct 2016 20:38:06 -0600
parents ad292e148964
children 150092cebf3e
comparison
equal deleted inserted replaced
864:e21ca9878a10 865:6b210bb66c63
21 import java.io.IOException; 21 import java.io.IOException;
22 22
23 import org.eclipse.jetty.io.Buffers; 23 import org.eclipse.jetty.io.Buffers;
24 import org.eclipse.jetty.io.EndPoint; 24 import org.eclipse.jetty.io.EndPoint;
25 import org.eclipse.jetty.util.component.LifeCycle; 25 import org.eclipse.jetty.util.component.LifeCycle;
26 import org.eclipse.jetty.util.thread.ThreadPool;
27 26
28 /** HTTP Connector. 27 /** HTTP Connector.
29 * Implementations of this interface provide connectors for the HTTP protocol. 28 * Implementations of this interface provide connectors for the HTTP protocol.
30 * A connector receives requests (normally from a socket) and calls the 29 * A connector receives requests (normally from a socket) and calls the
31 * handle method of the Handler object. These operations are performed using 30 * handle method of the Handler object. These operations are performed using
265 264
266 265
267 /* ------------------------------------------------------------ */ 266 /* ------------------------------------------------------------ */
268 /** Check if low on resources. 267 /** Check if low on resources.
269 * For most connectors, low resources is measured by calling 268 * For most connectors, low resources is measured by calling
270 * {@link ThreadPool#isLowOnThreads()} on the connector threadpool 269 * {@link Server#isLowOnThreads()} on the connector threadpool
271 * or the server threadpool if there is no connector threadpool. 270 * or the server threadpool if there is no connector threadpool.
272 * <p> 271 * <p>
273 * For blocking connectors, low resources is used to trigger 272 * For blocking connectors, low resources is used to trigger
274 * usage of {@link #getLowResourceMaxIdleTime()} for the timeout 273 * usage of {@link #getLowResourceMaxIdleTime()} for the timeout
275 * of an idle connection. 274 * of an idle connection.