public static class NettyProperties.HttpServlet.ServerThreadPool extends Object
| 构造器和说明 |
|---|
ServerThreadPool() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCoreThreads() |
String |
getDumpPath() |
Class<? extends Executor> |
getExecutor() |
int |
getKeepAliveSeconds() |
int |
getMaxThreads() |
String |
getPoolName() |
int |
getQueues() |
Class<? extends RejectedExecutionHandler> |
getRejected() |
boolean |
isEnable() |
boolean |
isFixed() |
void |
setCoreThreads(int coreThreads) |
void |
setDumpPath(String dumpPath) |
void |
setEnable(boolean enable) |
void |
setExecutor(Class<? extends Executor> executor) |
void |
setFixed(boolean fixed) |
void |
setKeepAliveSeconds(int keepAliveSeconds) |
void |
setMaxThreads(int maxThreads) |
void |
setPoolName(String poolName) |
void |
setQueues(int queues) |
void |
setRejected(Class<? extends RejectedExecutionHandler> rejected) |
public boolean isEnable()
public void setEnable(boolean enable)
public String getDumpPath()
public void setDumpPath(String dumpPath)
public String getPoolName()
public void setPoolName(String poolName)
public Class<? extends RejectedExecutionHandler> getRejected()
public void setRejected(Class<? extends RejectedExecutionHandler> rejected)
public int getKeepAliveSeconds()
public void setKeepAliveSeconds(int keepAliveSeconds)
public int getCoreThreads()
public void setCoreThreads(int coreThreads)
public int getMaxThreads()
public void setMaxThreads(int maxThreads)
public int getQueues()
public void setQueues(int queues)
public boolean isFixed()
public void setFixed(boolean fixed)
Copyright © 2021. All rights reserved.