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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def classLoader: ClassLoader
The ClassLoader that should be used
The ClassLoader that should be used
- Definition Classes
- RealServerProcess → ServerProcess
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)