public final class UnixRuntime extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
restart()
Restart current process with same arguments except -Dspf4j.restart which is added/updated.
|
static void |
restart(JVMArguments newArguments)
Restart current process.
|
public static void restart()
throws IOException
IOExceptionpublic static void restart(JVMArguments newArguments) throws IOException
newArguments - new process arguments. spf4j has a system property: spf4j.restart that will automatically add
or update to indicate a process was restarted and how many times.IOExceptionCopyright © 2018 SPF4J. All rights reserved.