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

GH-4703: Enhance StoppableTasklet interface to support step-specific stop requests #4715

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

HyunSangHan
Copy link

Closes: #4703

Resolves a limitation in the StoppableTasklet interface where distinguishing which specific StepExecution to stop was not possible during concurrent job executions.

Comment on lines +50 to +52
default void stop(StepExecution stepExecution) {
stop();
}
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new method provides a default implementation that delegates the call to the existing stop() method, ensuring backward compatibility for implementations that do not need step-specific stopping logic.

If you have any suggestions for improvement, please feel free to provide feedback!

@HyunSangHan HyunSangHan changed the title GH-4703: Enhance StoppableTasklet Interface to support step-specific stop requests GH-4703: Enhance StoppableTasklet interface to support step-specific stop requests Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add StepExecution parameter to StoppableTasklet.stop()
1 participant