|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ApplicationStatus is an interface used in remote access to advertise application status.
| Method Summary | |
boolean |
collectGarbage()
Request that the virtual machine run the garbage collector. |
int |
forceQuit(int code)
Force the application to quit immediately without running any finalizers. |
java.lang.String |
getApplicationName()
Get the application name. |
double |
getFreeMemory()
Get the free memory available the application instance. |
java.lang.String |
getHostName()
Get the name of the host where the application is running. |
double |
getLaunchTime()
Get the launch time of the application in seconds since the epoch (midnight GMT, January 1, 1970) |
double |
getTotalMemory()
Get the total memory consumed by the application instance. |
int |
quit(int code)
Quit the application normally. |
| Method Detail |
public double getFreeMemory()
public double getTotalMemory()
public java.lang.String getApplicationName()
public java.lang.String getHostName()
public double getLaunchTime()
public boolean collectGarbage()
public int quit(int code)
code - An unused status code.
public int forceQuit(int code)
code - The status code used for halting the virtual machine.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||