|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.prosyst.util.system.RuntimeInfo
public class RuntimeInfo
This class represents Runtime Info including used memory and active threads.
| Field Summary | |
|---|---|
long |
allSpace
The total space on the platform. |
java.lang.String[] |
classpath
The classpath of the server's JVM. |
long |
freeMemory
The free memory framework JVM. |
long |
freeSpace
The free space on the platform. |
long |
memoryUsage
The used memory of the framework JVM. |
ThreadGroupInfo |
threadsInfo
Representation of the active thread groups with their threads in the framework's JVM. |
long |
totalMemory
The total memory of the framework JVM. |
long |
usedSpace
The used space on the platform. |
| Constructor Summary | |
|---|---|
RuntimeInfo()
|
|
| Method Summary | |
|---|---|
void |
readObject(java.io.InputStream inputstream)
No necessecity to be implemented in this case. |
void |
writeObject(java.io.OutputStream outputstream)
Writes the following data in the stream: calls #ThreadGroupInfo.writeThreadGroupInfo(java.io.DataOutputStream);
a long for the used memory;
a long for the total memory; a long for the free memory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public ThreadGroupInfo threadsInfo
public long memoryUsage
public long totalMemory
public long freeMemory
public java.lang.String[] classpath
public long usedSpace
public long allSpace
public long freeSpace
| Constructor Detail |
|---|
public RuntimeInfo()
| Method Detail |
|---|
public void readObject(java.io.InputStream inputstream)
readObject in interface com.prosyst.util.io.Externalizablepublic void writeObject(java.io.OutputStream outputstream)
#ThreadGroupInfo.writeThreadGroupInfo(java.io.DataOutputStream);
a long for the used memory;
a long for the total memory; a long for the free memory.
an int for the classpath array length; an String for each
classpath element.
writeObject in interface com.prosyst.util.io.Externalizableoutputstream - stream, where info is written out.
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||