Skip to content

Implement Tasklet.stop() [BATCH-2009] #1583

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

Closed
spring-projects-issues opened this issue Apr 23, 2013 · 3 comments
Closed

Implement Tasklet.stop() [BATCH-2009] #1583

spring-projects-issues opened this issue Apr 23, 2013 · 3 comments

Comments

@spring-projects-issues
Copy link
Collaborator

Michael Minella opened BATCH-2009 and commented

Narrative

As the batch runtime, I need a way to stop a long running tasklet. The JSR provides the facility for the runtime to call a method on an executing Tasklet (Batchlet in the JSR world), and a well behaved Tasklet will stop processing and return.

Acceptance Criteria

  1. Add the Tasklet#stop() method to the Tasklet interface.
  2. Implement the new method accordingly in the places where we implement the Tasklet interface within the framework (ChunkOrientedTasklet for example).
  3. Update the JobOperator#stop() to call the Tasklet#stop() method if a tasklet is currently running.

Referenced from: commits 81e0c38, 3ed94e8

@spring-projects-issues
Copy link
Collaborator Author

Will Schipp commented

PR #173

@spring-projects-issues
Copy link
Collaborator Author

Will Schipp commented

do you mind reviewing the PR as it stands now?

@spring-projects-issues
Copy link
Collaborator Author

Michael Minella commented

Reviewed and commented on :)

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

No branches or pull requests

2 participants