Interface BuildChooserContext.ContextCallable<P,T>

All Superinterfaces:
Serializable
Enclosing interface:
BuildChooserContext

public static interface BuildChooserContext.ContextCallable<P,T> extends Serializable
  • Method Summary

    Modifier and Type
    Method
    Description
    invoke(P param, hudson.remoting.VirtualChannel channel)
    Performs the computational task on the node where the data is located.
  • Method Details

    • 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