Interface BuildChooserContext.ContextCallable<P,​T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T invoke​(P param, hudson.remoting.VirtualChannel channel)
      Performs the computational task on the node where the data is located.
    • Method Detail

      • invoke

        T invoke​(P param,
                 hudson.remoting.VirtualChannel channel)
          throws IOException,
                 InterruptedException
        Performs the computational task on the node where the data is located.

        All the exceptions are forwarded to the caller.

        Parameters:
        param - Context object.
        channel - The "back pointer" of the Channel that represents the communication with the node from where the code was sent.
        Returns:
        result from invocation on node
        Throws:
        IOException - on input or output error
        InterruptedException - when interrupted