class RealServerProcess extends ServerProcess
A ServerProcess that wraps a real JVM process. Calls have a real
effect on the JVM, e.g. exit
calls System.exit.
- Source
- ServerProcess.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RealServerProcess
- ServerProcess
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new RealServerProcess(args: Seq[String])
Value Members
- def addShutdownHook(hook: => Unit): Unit
Add a hook to run when the process shuts down
Add a hook to run when the process shuts down
- Definition Classes
- RealServerProcess → ServerProcess
- val args: Seq[String]
The command line arguments the process as invoked with
The command line arguments the process as invoked with
- Definition Classes
- RealServerProcess → ServerProcess
- def classLoader: ClassLoader
The ClassLoader that should be used
The ClassLoader that should be used
- Definition Classes
- RealServerProcess → ServerProcess
- def exit(message: String, cause: Option[Throwable] = None, returnCode: Int = -1): Nothing
Exit the process with a message and optional cause and return code
Exit the process with a message and optional cause and return code
- Definition Classes
- RealServerProcess → ServerProcess
- def pid: Option[String]
The process's id
The process's id
- Definition Classes
- RealServerProcess → ServerProcess
- final def prop(name: String): Option[String]
Helper for getting properties
Helper for getting properties
- Definition Classes
- ServerProcess
- def properties: Properties
The process's system properties
The process's system properties
- Definition Classes
- RealServerProcess → ServerProcess