Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: Core
    • Labels:

      Description

      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.

        Activity

        Hide
        Will Schipp added a comment -

        PR #173

        Show
        Will Schipp added a comment - PR #173
        Hide
        Will Schipp added a comment -

        do you mind reviewing the PR as it stands now?

        Show
        Will Schipp added a comment - do you mind reviewing the PR as it stands now?
        Hide
        Michael Minella added a comment -

        Reviewed and commented on

        Show
        Michael Minella added a comment - Reviewed and commented on

          People

          • Assignee:
            Michael Minella
            Reporter:
            Michael Minella
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 2d
              2d
              Remaining:
              Remaining Estimate - 2d
              2d
              Logged:
              Time Spent - Not Specified
              Not Specified