Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn SchedulingTaskExecutor into marker interface with default prefersShortLivedTasks implementation [SPR-17116] #21653

Closed
spring-projects-issues opened this issue Aug 2, 2018 · 0 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: task A general task
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Aug 2, 2018

Juergen Hoeller opened SPR-17116 and commented

SchedulingTaskExecutor is effectively a marker interface its implementations typically implement prefersShortLivedTasks() to always return true, with callers assuming false for regular TaskExecutor implementations. Let's make this clearer and more convenient by introducing a corresponding default method.


Referenced from: commits 5055071

@spring-projects-issues spring-projects-issues added in: core Issues in core modules (aop, beans, core, context, expression) type: task A general task labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 5.1 RC2 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: task A general task
Projects
None yet
Development

No branches or pull requests

2 participants