Skip to content

ExecutorCompletionService for Spring TaskExecutor [SPR-5341] #10014

@spring-projects-issues

Description

@spring-projects-issues

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:

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions