public class TaskExecutorProperties extends Object
TaskExecutorProperties
| 构造器和说明 |
|---|
TaskExecutorProperties() |
| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
getAwaitTerminationSeconds() |
Integer |
getKeepAliveSeconds() |
Integer |
getTaskPoolSize() |
String |
getThreadNamePrefix() |
boolean |
isWaitForTasksToCompleteOnShutdown() |
void |
setAwaitTerminationSeconds(Integer awaitTerminationSeconds) |
void |
setKeepAliveSeconds(Integer keepAliveSeconds) |
void |
setTaskPoolSize(Integer taskPoolSize) |
void |
setThreadNamePrefix(String threadNamePrefix) |
void |
setWaitForTasksToCompleteOnShutdown(boolean waitForTasksToCompleteOnShutdown) |
public String getThreadNamePrefix()
public void setThreadNamePrefix(String threadNamePrefix)
public Integer getTaskPoolSize()
public void setTaskPoolSize(Integer taskPoolSize)
public Integer getKeepAliveSeconds()
public void setKeepAliveSeconds(Integer keepAliveSeconds)
public boolean isWaitForTasksToCompleteOnShutdown()
public void setWaitForTasksToCompleteOnShutdown(boolean waitForTasksToCompleteOnShutdown)
public Integer getAwaitTerminationSeconds()
public void setAwaitTerminationSeconds(Integer awaitTerminationSeconds)
Copyright © 2020. All rights reserved.