Merge branch '6.1.x'
This commit is contained in:
@@ -45,6 +45,11 @@ import org.springframework.util.concurrent.ListenableFutureTask;
|
||||
* executing a large number of short-lived tasks. Alternatively, on JDK 21,
|
||||
* consider setting {@link #setVirtualThreads} to {@code true}.
|
||||
*
|
||||
* <p><b>NOTE: This executor does not participate in context-level lifecycle
|
||||
* management.</b> Tasks on handed-off execution threads cannot be centrally
|
||||
* stopped and restarted; if such tight lifecycle management is necessary,
|
||||
* consider a common {@code ThreadPoolTaskExecutor} setup instead.
|
||||
*
|
||||
* @author Juergen Hoeller
|
||||
* @since 2.0
|
||||
* @see #setVirtualThreads
|
||||
|
||||
Reference in New Issue
Block a user