|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--net.rim.vm.MemStats
|
+--net.rim.device.api.system.MemoryStats
Class used to provide utility methods for reporting on available device memory/storage statistics.
Note that the precise behaviour of each of these methods varies with the
type of memory/storage the object has been created to report upon. Typcailly,
an application uses the static methods provided by the Memory class
to retrieve a MemStats object appropriate for a particular purpose.
| Constructor Summary | ||
MemoryStats()
Constructs a new MemoryStats object. |
||
| Method Summary | ||
int |
getAllocated()
Returns the amount of memory/storage already allocated. |
|
int |
getFree()
Returns the amount of memory/storage still free and available for use. |
|
int |
getObjectCount()
Returns the number of objects occupying memory/storage type. |
|
int |
getObjectSize()
Returns the total size of objects occupying memory/storage type. |
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
| Method Detail |
public int getAllocated()
public int getFree()
public int getObjectCount()
public int getObjectSize()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2009 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.