public static class TThreadPoolServer.Args extends TServer.AbstractServerArgs<TThreadPoolServer.Args>
| Modifier and Type | Field | Description |
|---|---|---|
java.util.concurrent.ExecutorService |
executorService |
|
int |
maxWorkerThreads |
|
int |
minWorkerThreads |
|
java.util.concurrent.TimeUnit |
stopTimeoutUnit |
|
int |
stopTimeoutVal |
| Constructor | Description |
|---|---|
Args(TServerTransport transport) |
| Modifier and Type | Method | Description |
|---|---|---|
TThreadPoolServer.Args |
executorService(java.util.concurrent.ExecutorService executorService) |
|
TThreadPoolServer.Args |
maxWorkerThreads(int n) |
|
TThreadPoolServer.Args |
minWorkerThreads(int n) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinputProtocolFactory, inputTransportFactory, outputProtocolFactory, outputTransportFactory, processor, processorFactory, protocolFactory, transportFactorypublic int minWorkerThreads
public int maxWorkerThreads
public java.util.concurrent.ExecutorService executorService
public int stopTimeoutVal
public java.util.concurrent.TimeUnit stopTimeoutUnit
public Args(TServerTransport transport)
public TThreadPoolServer.Args minWorkerThreads(int n)
public TThreadPoolServer.Args maxWorkerThreads(int n)
public TThreadPoolServer.Args executorService(java.util.concurrent.ExecutorService executorService)