类 TaskExecutionProperties.Pool
java.lang.Object
org.springframework.boot.autoconfigure.task.TaskExecutionProperties.Pool
-
嵌套类概要
嵌套类 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明int
int
int
boolean
void
setAllowCoreThreadTimeout
(boolean allowCoreThreadTimeout) void
setCoreSize
(int coreSize) void
setKeepAlive
(Duration keepAlive) void
setMaxSize
(int maxSize) void
setQueueCapacity
(int queueCapacity)
-
构造器详细资料
-
Pool
public Pool()
-
-
方法详细资料
-
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
-
getShutdown
-