|
static void | spawn (final String main, final int mem, final String[] args, final Runnable runBeforeRestart) throws IOException |
|
static List< String > | getCmds (final String main, final int mem, final String[] args) |
|
static void | main (final String[] args) |
|
Restarter
- Author
- Bernard Bou
◆ Spawn()
grammarscope.common.utils.Spawn.Spawn |
( |
| ) |
|
|
private |
◆ getCmds()
static List<String> grammarscope.common.utils.Spawn.getCmds |
( |
final String |
main, |
|
|
final int |
mem, |
|
|
final String[] |
args |
|
) |
| |
|
static |
Make command list
- Returns
- command list
◆ main()
static void grammarscope.common.utils.Spawn.main |
( |
final String[] |
args | ) |
|
|
static |
◆ spawn()
static void grammarscope.common.utils.Spawn.spawn |
( |
final String |
main, |
|
|
final int |
mem, |
|
|
final String[] |
args, |
|
|
final Runnable |
runBeforeRestart |
|
) |
| throws IOException |
|
static |
Spawn
- Parameters
-
main | main class |
mem | max heap size in megabytes, -1 if unchanged |
args | command-line arguments |
runBeforeRestart | runnable to be run before restart |
The documentation for this class was generated from the following file:
- grammarscope/common/src/main/java/grammarscope/common/utils/Spawn.java