Interface AgentJobKillService

All Known Implementing Classes:
GRpcAgentJobKillServiceImpl

public interface AgentJobKillService
Register an agent to listen for job kill messages from the server and respond to them.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    start(@NotBlank(message="Job id cannot be blank") String jobId)
    Start listening for job termination notification.
    void
    Stop the service.
  • Method Details

    • start

      void start(@NotBlank(message="Job id cannot be blank") @NotBlank(message="Job id cannot be blank") String jobId)
      Start listening for job termination notification.
      Parameters:
      jobId - job id
    • stop

      void stop()
      Stop the service.