public static class THsHaServer.Args extends AbstractNonblockingServer.AbstractNonblockingServerArgs<THsHaServer.Args>
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() |
java.util.concurrent.TimeUnit |
getStopTimeoutUnit() |
int |
getStopTimeoutVal() |
int |
getWorkerThreads() |
THsHaServer.Args |
stopTimeoutUnit(java.util.concurrent.TimeUnit stopTimeoutUnit) |
THsHaServer.Args |
stopTimeoutVal(int stopTimeoutVal) |
THsHaServer.Args |
workerThreads(int i) |
inputProtocolFactory, inputTransportFactory, outputProtocolFactory, outputTransportFactory, processor, processorFactory, protocolFactory, transportFactory
public THsHaServer.Args(TNonblockingServerTransport transport)
public THsHaServer.Args workerThreads(int i)
public int getWorkerThreads()
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)