public class TRuntime extends Object
Constructor and Description |
---|
TRuntime() |
Modifier and Type | Method and Description |
---|---|
void |
exit(int status)
Terminates the currently running Java application.
|
long |
freeMemory()
Returns the amount of free memory in the system.
|
void |
gc()
Runs the garbage collector.
|
static TRuntime |
getRuntime()
Returns the runtime object associated with the current Java application.
|
long |
totalMemory()
Returns the total amount of memory in the Java Virtual Machine.
|
public void exit(int status)
public long freeMemory()
public void gc()
public static TRuntime getRuntime()
public long totalMemory()
Copyright © 2019. All rights reserved.