public class ExecutorProperties extends Object
Constructor and Description |
---|
ExecutorProperties() |
Modifier and Type | Method and Description |
---|---|
Integer |
getCorePoolSize()
Getter for core pool size.
|
Integer |
getKeepAliveTime()
Getter for keep-alive time.
|
Integer |
getMaxPendingRequests()
Getter for max pending requests.
|
Integer |
getMaxPoolSize()
Getter for max pool size.
|
String |
getName()
Getter for name.
|
void |
setCorePoolSize(Integer corePoolSize)
Setter for core pool size.
|
void |
setKeepAliveTime(Integer keepAliveTime)
Setter for keep-alive time.
|
void |
setMaxPendingRequests(Integer maxPendingRequests)
Setter for name.
|
void |
setMaxPoolSize(Integer maxPoolSize)
Setter for max pool size.
|
void |
setName(String name)
Setter for name.
|
String |
toString() |
public String getName()
public void setName(String name)
name
- the namepublic Integer getCorePoolSize()
public void setCorePoolSize(Integer corePoolSize)
corePoolSize
- the core pool sizepublic Integer getKeepAliveTime()
public void setKeepAliveTime(Integer keepAliveTime)
keepAliveTime
- the keep-alive timepublic Integer getMaxPendingRequests()
public void setMaxPendingRequests(Integer maxPendingRequests)
maxPendingRequests
- the max pending requestspublic Integer getMaxPoolSize()
public void setMaxPoolSize(Integer maxPoolSize)
maxPoolSize
- the max pool size