public static class THsHaServer.Args extends AbstractNonblockingServer.AbstractNonblockingServerArgs<THsHaServer.Args>
Modifier and Type | Field and Description |
---|---|
int |
maxWorkerThreads |
int |
minWorkerThreads |
maxReadBufferBytes
Constructor and Description |
---|
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() |
int |
getWorkerThreads()
Deprecated.
use
getMinWorkerThreads() and getMaxWorkerThreads() instead. |
THsHaServer.Args |
maxWorkerThreads(int n) |
THsHaServer.Args |
minWorkerThreads(int n) |
THsHaServer.Args |
stopTimeoutUnit(java.util.concurrent.TimeUnit stopTimeoutUnit) |
THsHaServer.Args |
stopTimeoutVal(int stopTimeoutVal) |
THsHaServer.Args |
workerThreads(int n)
Deprecated.
use
minWorkerThreads(int) and maxWorkerThreads(int) instead. |
inputProtocolFactory, inputTransportFactory, outputProtocolFactory, outputTransportFactory, processor, processorFactory, protocolFactory, transportFactory
public int minWorkerThreads
public int maxWorkerThreads
public Args(TNonblockingServerTransport transport)
@Deprecated public THsHaServer.Args workerThreads(int n)
minWorkerThreads(int)
and maxWorkerThreads(int)
instead.@Deprecated public int getWorkerThreads()
getMinWorkerThreads()
and getMaxWorkerThreads()
instead.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)