public static class THsHaServer.Args extends AbstractNonblockingServer.AbstractNonblockingServerArgs<THsHaServer.Args>
maxReadBufferBytes| Constructor | Description |
|---|---|
Args(TNonblockingServerTransport transport) |
| Modifier and Type | Method | 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinputProtocolFactory, inputTransportFactory, outputProtocolFactory, outputTransportFactory, processor, processorFactory, protocolFactory, transportFactorypublic 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)