Interface ChildLauncher


  • public interface ChildLauncher
    Service for launching a child process clone of this process, to be provided to NetworkCoreFactory.
    • Method Detail

      • launch

        ChildLauncher.Info launch​(List<String> javaOptions,
                                  List<String> arguments)
                           throws Exception
        Launch a child process with the optional given Java options and arguments. This method will block until the process is launched and the process handle and network socket to connect to are available.
        Parameters:
        javaOptions - optional Java options to pass to the child process
        arguments - optional arguments to be passed to the child process
        Returns:
        Info of the child process
        Throws:
        Exception - if the process launch fails, times out, etc.