J.Vm
object Vm
- Source
- __.scala
class java.lang.Object
trait scala.Matchable
class Any
Member
J.Memory provides nicer access to 'java.lang.Runtime.getRuntime' memory values
```
J.Vm.Memory.tp
// Oputput
J.Vm.Memory{max=15.2gB,total=1.0gB,free=970.0mB,used=59.1mB}
```
- Source
- Memory.scala
object Setup
Scalqa Configuration
Setup contains a set of mutable configuration properties, which adhere to the following rules:
- Once the property value was accessed, it cannot be chaged anymore
- If method
J.Vm.Setup.seal
is executed, all properties become immutable
- Source
- Setup.scala
Def
Local host address
Local host address
Inlines following:
java.net.InetAddress.getLocalHost.getHostAddress()
- Source
- __.scala
Core count
Core count
Inlines following:
java.lang.Runtime.getRuntime().availableProcessors()
- Source
- __.scala
JVM shutdown
JVM shutdown
Inlines following:
println("J.Vm.exit requested")
System.exit(0)
- Source
- __.scala
Local host name
Local host name
Inlines following:
java.net.InetAddress.getLocalHost.getHostName()
- Source
- __.scala