|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.realtime.MemoryArea | +--javax.realtime.HeapMemory
The HeapMemory
class is a singleton object that allows
logic within other scoped memory to allocate objects in the Java heap.
Method Summary | |
static HeapMemory |
instance()
Returns a pointer to the singleton HeapMemory space. |
long |
memoryConsumed()
An exact count, in bytes, of the all of the memory currently used by the system for the allocated objects. |
long |
memoryRemaining()
An approximation to the total amount of memory currently available for future allocated objects, measured in bytes. |
Methods inherited from class javax.realtime.MemoryArea |
enter,
enter,
executeInArea,
finalize,
getMemoryArea,
newArray,
newInstance,
newInstance,
size |
Methods inherited from class java.lang.Object |
clone,
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public static HeapMemory instance()
HeapMemory
space.HeapMemory
object.public long memoryRemaining()
public long memoryConsumed()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |