public static class THsHaServer.Args extends AbstractNonblockingServer.AbstractNonblockingServerArgs<THsHaServer.Args>
| Modifier and Type | Field and Description |
|---|---|
int |
maxWorkerThreads |
int |
minWorkerThreads |
maxReadBufferBytes| Constructor and Description |
|---|
THsHaServer.Args(TNonblockingServerTransport transport) |
| Modifier and Type | Method and Description |
|---|---|
THsHaServer.Args |
executorService(java.util.concurrent.ExecutorService executorService) |
java.util.concurrent.ExecutorService |
getExecutorService() |
int |
getMaxWorkerThreads() |
int |
getMinWorkerThreads() |
java.util.concurrent.TimeUnit |
getStopTimeoutUnit() |
int |
getStopTimeoutVal() |
THsHaServer.Args |
maxWorkerThreads(int n) |
THsHaServer.Args |
minWorkerThreads(int n) |
THsHaServer.Args |
stopTimeoutUnit(java.util.concurrent.TimeUnit stopTimeoutUnit) |
THsHaServer.Args |
stopTimeoutVal(int stopTimeoutVal) |
inputProtocolFactory, inputTransportFactory, outputProtocolFactory, outputTransportFactory, processor, processorFactory, protocolFactory, transportFactorypublic int minWorkerThreads
public int maxWorkerThreads
public THsHaServer.Args(TNonblockingServerTransport transport)
public THsHaServer.Args minWorkerThreads(int n)
public THsHaServer.Args maxWorkerThreads(int n)
public int getMinWorkerThreads()
public int getMaxWorkerThreads()
public int getStopTimeoutVal()
public THsHaServer.Args stopTimeoutVal(int stopTimeoutVal)
public java.util.concurrent.TimeUnit getStopTimeoutUnit()
public THsHaServer.Args stopTimeoutUnit(java.util.concurrent.TimeUnit stopTimeoutUnit)
public java.util.concurrent.ExecutorService getExecutorService()
public THsHaServer.Args executorService(java.util.concurrent.ExecutorService executorService)