Interface JobKillService

All Known Implementing Classes:
GRpcJobKillServiceImpl

@Validated public interface JobKillService
Interface for services to kill jobs.
Since:
3.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    killJob(@NotBlank(message="No id entered. Unable to kill job.") String id, @NotBlank(message="No reason provided.") String reason, jakarta.servlet.http.HttpServletRequest request)
    Kill the job with the given id if possible.
  • Method Details

    • killJob

      void killJob(@NotBlank(message="No id entered. Unable to kill job.") @NotBlank(message="No id entered. Unable to kill job.") String id, @NotBlank(message="No reason provided.") @NotBlank(message="No reason provided.") String reason, @Nullable jakarta.servlet.http.HttpServletRequest request) throws GenieJobNotFoundException, GenieServerException
      Kill the job with the given id if possible.
      Parameters:
      id - id of job to kill
      reason - brief reason for requesting the job be killed
      request - The optional HttpServletRequest information if the request needs to be forwarded
      Throws:
      GenieJobNotFoundException - When a job identified by jobId can't be found in the system
      GenieServerException - if there is an unrecoverable error in the internal state of the Genie cluster