FileDocCategorySizeDatePackage
RuntimeInfo.javaAPI DocphoneME MR2 API (J2ME)2513Wed May 02 18:00:06 BST 2007com.sun.midp.main

RuntimeInfo

public class RuntimeInfo extends Object
Structure containing the run time information about the midlet.

Fields Summary
int
memoryReserved
The minimum amount of memory guaranteed to be available to the isolate at any time. Used to pass a parameter to midlet_create_start(), < 0 if not used.
int
memoryTotal
The total amount of memory that the isolate can reserve. Used to pass a parameter to midlet_create_start(), < 0 if not used.
int
usedMemory
The approximate amount of object heap memory currently used by the isolate.
int
priority
Priority of the isolate (< 0 if not set).
String
profileName
Name of the VM profile that should be used for the new isolate. Used (1) to pass a parameter to midlet_create_start(); (2) to get a profile's name of the given isolate in run time.
Constructors Summary
RuntimeInfo()
Constructor

    
Methods Summary
public java.lang.StringtoString()
Returns the string form of this object.

return
displayable string representation of this object

        return "Runtime Information:" +
            "\n  memoryReserved: " + memoryReserved +
            "\n  memoryTotal: " + memoryTotal +
            "\n  usedMemory: " + usedMemory +
            "\n  priority: " + priority +
            "\n  profileName: " +  profileName;