Modifier and Type | Method and Description |
---|---|
static JavaVMArguments |
JavaVMArguments.current()
Gets the process argument list of the current process.
|
static JavaVMArguments |
JavaVMArguments.of(int pid)
Gets the process argument list of the specified process ID.
|
Modifier and Type | Method and Description |
---|---|
void |
Daemon.daemonize(JavaVMArguments args)
Relaunches the JVM with the given arguments into the daemon.
|
protected abstract void |
NetworkServer.forkWorkers(JavaVMArguments args)
Forks the worker thread with the given JVM args.
|
protected void |
EchoServer.forkWorkers(JavaVMArguments args) |
protected void |
NetworkServer.forkWorkerThreads(JavaVMArguments arguments,
int n)
Called by the front-end code to fork a number of worker processes into the background.
|
static void |
Daemon.selfExec(JavaVMArguments args)
Overwrites the current process with a new Java VM with the given JVM arguments.
|
Copyright © 2015. All rights reserved.