Interface ChildLauncher


public interface ChildLauncher
Service for launching a child process clone of this process, to be provided to NetworkCoreFactory.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Information about the launched child process.
  • Method Summary

    Modifier and Type
    Method
    Description
    launch(List<String> javaOptions, List<String> arguments)
    Launch a child process with the optional given Java options and arguments.
  • Method Details

    • 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.