Interface ExecutionOperations

All Known Implementing Classes:
DefaultExecutionOperations

public interface ExecutionOperations
Operations on the Execution.
  • Method Details

    • deploy

      void deploy(Execution execution) throws JobException
      Deploy the execution.
      Parameters:
      execution - to deploy.
      Throws:
      JobException - if the execution cannot be deployed to the assigned resource
    • cancel

      CompletableFuture<?> cancel(Execution execution)
      Cancel the execution.
      Parameters:
      execution - to cancel
      Returns:
      Future which completes when the cancellation is done
    • markFailed

      void markFailed(Execution execution, Throwable cause)
      Mark the execution as FAILED.
      Parameters:
      execution - to mark as failed.
      cause - of the execution failure