public class SqlToyContextTaskPoolProperties extends Object
| 构造器和说明 |
|---|
SqlToyContextTaskPoolProperties() |
| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
getAwaitTerminationSeconds() |
Integer |
getCorePoolSize() |
Integer |
getKeepAliveSeconds() |
Integer |
getMaxPoolSize() |
Integer |
getQueueCapacity() |
RejectedExecutionHandler |
getRejectedExecutionHandler() |
String |
getTargetPoolName() |
String |
getThreadNamePrefix() |
Boolean |
getWaitForTasksToCompleteOnShutdown() |
void |
setAwaitTerminationSeconds(Integer awaitTerminationSeconds) |
void |
setCorePoolSize(Integer corePoolSize) |
void |
setKeepAliveSeconds(Integer keepAliveSeconds) |
void |
setMaxPoolSize(Integer maxPoolSize) |
void |
setQueueCapacity(Integer queueCapacity) |
void |
setRejectedExecutionHandler(RejectedExecutionHandler rejectedExecutionHandler) |
void |
setTargetPoolName(String targetPoolName) |
void |
setThreadNamePrefix(String threadNamePrefix) |
void |
setWaitForTasksToCompleteOnShutdown(Boolean waitForTasksToCompleteOnShutdown) |
public String getTargetPoolName()
public void setTargetPoolName(String targetPoolName)
public String getThreadNamePrefix()
public void setThreadNamePrefix(String threadNamePrefix)
public Integer getCorePoolSize()
public void setCorePoolSize(Integer corePoolSize)
public Integer getMaxPoolSize()
public void setMaxPoolSize(Integer maxPoolSize)
public Integer getQueueCapacity()
public void setQueueCapacity(Integer queueCapacity)
public Integer getKeepAliveSeconds()
public void setKeepAliveSeconds(Integer keepAliveSeconds)
public Boolean getWaitForTasksToCompleteOnShutdown()
public void setWaitForTasksToCompleteOnShutdown(Boolean waitForTasksToCompleteOnShutdown)
public Integer getAwaitTerminationSeconds()
public void setAwaitTerminationSeconds(Integer awaitTerminationSeconds)
public RejectedExecutionHandler getRejectedExecutionHandler()
public void setRejectedExecutionHandler(RejectedExecutionHandler rejectedExecutionHandler)
Copyright © 2024. All rights reserved.