-
public interface ChildLauncher
Service for launching a child process clone of this process, to be provided toNetworkCoreFactory
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ChildLauncher.Info
Information about the launched child process.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChildLauncher.Info
launch(List<String> javaOptions, List<String> arguments)
Launch a child process with the optional given Java options and arguments.
-
-
-
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 processarguments
- 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.
-
-