public class ServicePool extends ServerServiceFilter
| Modifier and Type | Class and Description |
|---|---|
class |
ServicePool.Pool |
| Constructor and Description |
|---|
ServicePool(ServerService next,
int threads) |
ServicePool(ServerService next,
int threads,
int queue,
boolean block) |
ServicePool(ServerService next,
int threadCore,
int threads,
int queue,
boolean block,
long keepAliveTime) |
ServicePool(ServerService next,
Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
ThreadPoolExecutor |
getThreadPool() |
void |
service(InputStream in,
OutputStream out) |
void |
service(Socket socket) |
public ServicePool(ServerService next, Properties properties)
public ServicePool(ServerService next, int threads)
public ServicePool(ServerService next, int threads, int queue, boolean block)
public ServicePool(ServerService next, int threadCore, int threads, int queue, boolean block, long keepAliveTime)
public ThreadPoolExecutor getThreadPool()
public void service(InputStream in, OutputStream out) throws ServiceException, IOException
service in interface ServerServiceservice in class ServerServiceFilterServiceExceptionIOExceptionpublic void service(Socket socket) throws ServiceException, IOException
service in interface ServerServiceservice in class ServerServiceFilterServiceExceptionIOExceptionCopyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.