public abstract static class NettyHttpServerConfiguration.EventLoopConfig extends Object
Constructor and Description |
---|
EventLoopConfig() |
Modifier and Type | Method and Description |
---|---|
Optional<String> |
getExecutorName() |
Optional<Integer> |
getIoRatio() |
int |
getNumOfThreads() |
void |
setExecutor(String executor)
Sets the name of the executor.
|
void |
setIoRatio(Integer ioRatio)
Sets the I/O ratio.
|
void |
setThreads(int threads)
Sets the number of threads for the event loop group.
|
public void setThreads(int threads)
threads
- The number of threadspublic void setIoRatio(Integer ioRatio)
ioRatio
- The I/O ratiopublic void setExecutor(String executor)
executor
- The executorpublic int getNumOfThreads()