接口 org.eclipse.jetty.util.thread.ThreadPool
的使用

使用 ThreadPool 的软件包
org.eclipse.jetty.client   
org.eclipse.jetty.http.spi   
org.eclipse.jetty.server   
org.eclipse.jetty.server.handler   
org.eclipse.jetty.server.nio   
org.eclipse.jetty.util.thread   
org.eclipse.jetty.websocket   
 

org.eclipse.jetty.clientThreadPool 的使用
 

返回 ThreadPoolorg.eclipse.jetty.client 中的方法
 ThreadPool HttpClient.getThreadPool()
           
 

参数类型为 ThreadPoolorg.eclipse.jetty.client 中的方法
 void HttpClient.setThreadPool(ThreadPool threadPool)
          Set the ThreadPool.
 

org.eclipse.jetty.http.spiThreadPool 的使用
 

实现 ThreadPoolorg.eclipse.jetty.http.spi 中的类
 class ThreadPoolExecutorAdapter
          Jetty ThreadPool that bridges requests to a ThreadPoolExecutor.
 

org.eclipse.jetty.serverThreadPool 的使用
 

返回 ThreadPoolorg.eclipse.jetty.server 中的方法
 ThreadPool Server.getThreadPool()
           
 ThreadPool AbstractConnector.getThreadPool()
           
 

参数类型为 ThreadPoolorg.eclipse.jetty.server 中的方法
 void Server.setThreadPool(ThreadPool threadPool)
           
 void AbstractConnector.setThreadPool(ThreadPool pool)
          Set the ThreadPool.
 

org.eclipse.jetty.server.handlerThreadPool 的使用
 

返回 ThreadPoolorg.eclipse.jetty.server.handler 中的方法
 ThreadPool ConnectHandler.getThreadPool()
           
 

参数类型为 ThreadPoolorg.eclipse.jetty.server.handler 中的方法
 void ConnectHandler.setThreadPool(ThreadPool threadPool)
           
 

org.eclipse.jetty.server.nioThreadPool 的使用
 

参数类型为 ThreadPoolorg.eclipse.jetty.server.nio 中的方法
 void SelectChannelConnector.setThreadPool(ThreadPool pool)
           
 

org.eclipse.jetty.util.threadThreadPool 的使用
 

org.eclipse.jetty.util.threadThreadPool 的子接口
static interface ThreadPool.SizedThreadPool
           
 

实现 ThreadPoolorg.eclipse.jetty.util.thread 中的类
 class ExecutorThreadPool
          Jetty ThreadPool using java 5 ThreadPoolExecutor This class wraps a ExecutorService as a ThreadPool and LifeCycle interfaces so that it may be used by the Jetty org.eclipse.jetty.server.Server
 class QueuedThreadPool
           
 

org.eclipse.jetty.websocketThreadPool 的使用
 

返回 ThreadPoolorg.eclipse.jetty.websocket 中的方法
 ThreadPool WebSocketClientFactory.getThreadPool()
          Get the ThreadPool.
 

参数类型为 ThreadPoolorg.eclipse.jetty.websocket 中的构造方法
WebSocketClientFactory(ThreadPool threadPool)
          Creates a WebSocketClientFactory with the given ThreadPool and the default configuration.
WebSocketClientFactory(ThreadPool threadPool, MaskGen maskGen)
          Creates a WebSocketClientFactory with the given ThreadPool and the given MaskGen.
WebSocketClientFactory(ThreadPool threadPool, MaskGen maskGen, int bufferSize)
          Creates a WebSocketClientFactory with the specified configuration.
 



Copyright © 2013. All Rights Reserved.