Class TaskExecutionProperties.Pool
java.lang.Object
org.springframework.boot.autoconfigure.task.TaskExecutionProperties.Pool
- Enclosing class:
- TaskExecutionProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
boolean
void
setAllowCoreThreadTimeout
(boolean allowCoreThreadTimeout) void
setCoreSize
(int coreSize) void
setKeepAlive
(Duration keepAlive) void
setMaxSize
(int maxSize) void
setQueueCapacity
(int queueCapacity)
-
Constructor Details
-
Pool
public Pool()
-
-
Method Details
-
getQueueCapacity
public int getQueueCapacity() -
setQueueCapacity
public void setQueueCapacity(int queueCapacity) -
getCoreSize
public int getCoreSize() -
setCoreSize
public void setCoreSize(int coreSize) -
getMaxSize
public int getMaxSize() -
setMaxSize
public void setMaxSize(int maxSize) -
isAllowCoreThreadTimeout
public boolean isAllowCoreThreadTimeout() -
setAllowCoreThreadTimeout
public void setAllowCoreThreadTimeout(boolean allowCoreThreadTimeout) -
getKeepAlive
-
setKeepAlive
-