public class ThreadPoolShutdownConfiguration extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>
| Constructor and Description |
|---|
ThreadPoolShutdownConfiguration(ShutdownProperties shutdownProperties) |
| Modifier and Type | Method and Description |
|---|---|
List<org.springframework.scheduling.concurrent.ExecutorConfigurationSupport> |
getThreadPoolList() |
void |
onApplicationEvent(org.springframework.context.event.ContextClosedEvent event) |
void |
setThreadPoolList(List<org.springframework.scheduling.concurrent.ExecutorConfigurationSupport> threadPoolList) |
public ThreadPoolShutdownConfiguration(ShutdownProperties shutdownProperties)
public List<org.springframework.scheduling.concurrent.ExecutorConfigurationSupport> getThreadPoolList()
public void setThreadPoolList(List<org.springframework.scheduling.concurrent.ExecutorConfigurationSupport> threadPoolList)
public void onApplicationEvent(org.springframework.context.event.ContextClosedEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextClosedEvent>Copyright © 2024. All rights reserved.