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