Package org.hawaiiframework.async.model
Class ExecutorProperties
java.lang.Object
org.hawaiiframework.async.model.ExecutorProperties
Configuration properties for a single executor.
- Since:
- 2.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for core pool size.Getter for keep-alive time.Getter for max pending requests.Getter for max pool size.getName()Getter for name.voidsetCorePoolSize(Integer corePoolSize) Setter for core pool size.voidsetKeepAliveTime(Integer keepAliveTime) Setter for keep-alive time.voidsetMaxPendingRequests(Integer maxPendingRequests) Setter for name.voidsetMaxPoolSize(Integer maxPoolSize) Setter for max pool size.voidSetter for name.toString()
-
Constructor Details
-
ExecutorProperties
public ExecutorProperties()
-
-
Method Details
-
getName
Getter for name.- Returns:
- the name
-
setName
Setter for name.- Parameters:
name- the name
-
getCorePoolSize
Getter for core pool size.- Returns:
- the core pool size
-
setCorePoolSize
Setter for core pool size.- Parameters:
corePoolSize- the core pool size
-
getKeepAliveTime
Getter for keep-alive time.- Returns:
- the keep-alive time
-
setKeepAliveTime
Setter for keep-alive time.- Parameters:
keepAliveTime- the keep-alive time
-
getMaxPendingRequests
Getter for max pending requests.- Returns:
- the max pending requests
-
setMaxPendingRequests
Setter for name.- Parameters:
maxPendingRequests- the max pending requests
-
getMaxPoolSize
Getter for max pool size.- Returns:
- the max pool size
-
setMaxPoolSize
Setter for max pool size.- Parameters:
maxPoolSize- the max pool size
-
toString
-