Package org.hawaiiframework.async.model
Class ExecutorProperties
- java.lang.Object
-
- org.hawaiiframework.async.model.ExecutorProperties
-
public class ExecutorProperties extends Object
Configuration properties for a single executor.- Since:
- 2.0.0
- Author:
- Rutger Lubbers, Paul Klos
-
-
Constructor Summary
Constructors Constructor Description ExecutorProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
getName
public String getName()
Getter for name.- Returns:
- the name
-
setName
public void setName(String name)
Setter for name.- Parameters:
name
- the name
-
getCorePoolSize
public Integer getCorePoolSize()
Getter for core pool size.- Returns:
- the core pool size
-
setCorePoolSize
public void setCorePoolSize(Integer corePoolSize)
Setter for core pool size.- Parameters:
corePoolSize
- the core pool size
-
getKeepAliveTime
public Integer getKeepAliveTime()
Getter for keep-alive time.- Returns:
- the keep-alive time
-
setKeepAliveTime
public void setKeepAliveTime(Integer keepAliveTime)
Setter for keep-alive time.- Parameters:
keepAliveTime
- the keep-alive time
-
getMaxPendingRequests
public Integer getMaxPendingRequests()
Getter for max pending requests.- Returns:
- the max pending requests
-
setMaxPendingRequests
public void setMaxPendingRequests(Integer maxPendingRequests)
Setter for name.- Parameters:
maxPendingRequests
- the max pending requests
-
getMaxPoolSize
public Integer getMaxPoolSize()
Getter for max pool size.- Returns:
- the max pool size
-
setMaxPoolSize
public void setMaxPoolSize(Integer maxPoolSize)
Setter for max pool size.- Parameters:
maxPoolSize
- the max pool size
-
-