Skip to content
This repository was archived by the owner on Nov 20, 2020. It is now read-only.

Add ability to stop a job executionΒ #24

@fmbenhassine

Description

@fmbenhassine

Jobs are submitted to a pool of threads.
Stopping a thread in Java is not the easiest thing to do πŸ˜„

It should be possible through the admin interface to stop an execution.
The server should keep track of the execution's Future objects and call cancel on the requested one.

This will set the interrupted flag on the execution thread which should be detected by the user's job using Thread.currentThread().isInterrupted(). This is possible out of the box if the job is an Easy Batch job.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions