-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
Dave Syer opened SPR-5341 and commented
Add TaskExecutorCompletionService. It would be nice to be able to use the TaskExecutor abstraction in a CompletionService, since it has wider applicability than Executor from java.util.concurrent.
Another very useful feature which can be built in is the ability to throttle the tasks, so that at most N are pending execution at any time, causing the submit() method to block until one completes.
Attachments:
- TaskExecutorCompletionService.java (4.21 kB)
- TaskExecutorCompletionServiceTests.java (2.70 kB)
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement