Interface TaskRunningService

  • All Known Implementing Classes:
    TaskRunningServiceImpl

    public interface TaskRunningService
    Author:
    paul, anton
    • Method Detail

      • submitTask

        <T extends Task<?>> String submitTask​(T task)
      • submitTaskCommand

        <C extends TaskCommandString submitTaskCommand​(C taskCommand)
        Submit a task and track its progress. When it is finished, the results can be retrieved with checkResult(). Tasks can be cancelled with cancelTask().
        Type Parameters:
        C - task command implementation
        Parameters:
        taskCommand - The command to run. The submissionTime of the task is set after this call. This does not mean that the job has started - it might be queued.
        Returns:
        string