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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void start​(@NotBlank(message="Job id cannot be blank") java.lang.String jobId)
      Start listening for job termination notification.
      void stop()
      Stop the service.
    • Method Detail

      • start

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

        void stop()
        Stop the service.