A few additional conveniences for Boolean properties.
A lightweight interface wrapping a property contained in some unspecified map.
A minimal Thread wrapper to enhance shutdown hooks.
A bidirectional map wrapping the java System properties.
The values in SystemProperties can be used to access and manipulate designated system properties.
Register a shutdown hook to be run when the VM exits.
Register a shutdown hook to be run when the VM exits. The newly created thread is marked as a daemon so it will not interfere with VM shutdown. The hook is automatically registered: the returned value can be ignored, but is available in case the Thread requires further modification. It can also be unregistered by calling ShutdownHookThread#remove().
Note that shutdown hooks are NOT guaranteed to be run.
the body of code to run at shutdown
the Thread which will run the shutdown hook.
Returns all active thread in the current thread's thread group and subgroups.
Returns all active thread in the current thread's thread group and subgroups.
an IndexedSeq containing the threads.
An immutable Map representing the current system environment.
An immutable Map representing the current system environment.
a Map containing the system environment variables.
Throw a new RuntimeException with the supplied message.
Throw a new RuntimeException with the supplied message.
Nothing.
Exit the JVM with the given status code.
Exit the JVM with the given status code.
Nothing.
Exit the JVM with the default status code.
Exit the JVM with the default status code.
Nothing.
This package handles the execution of external processes.
A bidirectional, mutable Map representing the current system Properties.
A bidirectional, mutable Map representing the current system Properties.
a SystemProperties.
A convenience method to get the current Runtime instance.
A convenience method to get the current Runtime instance.
the result of java.lang.Runtime.getRuntime()
The package object
scala.sys
contains methods for reading and altering core aspects of the virtual machine as well as the world outside of it.2.9
2.9