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

spring-issuemaster opened this issue Aug 2, 2018 · 0 comments


Copy link

@spring-issuemaster spring-issuemaster 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.