Interface RequestForwardingService

  • All Known Implementing Classes:
    RequestForwardingServiceImpl

    public interface RequestForwardingService
    A service whose implementation should be responsible for forwarding requests between Genie server nodes.
    Since:
    4.0.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void kill​(java.lang.String host, java.lang.String jobId, javax.servlet.http.HttpServletRequest request)
      Send a kill request for the given job id to another Genie host.
    • Method Detail

      • kill

        void kill​(java.lang.String host,
                  java.lang.String jobId,
                  @Nullable
                  javax.servlet.http.HttpServletRequest request)
        Send a kill request for the given job id to another Genie host.
        Parameters:
        host - The host to send the kill request to
        jobId - The id of the job that should be killed
        request - The optional Http request that triggered this kill forwarding action